
but when I'm doing compare to a register that is 61 in float the check fails:

What am I doing wrong?

Code: Select all
cmp [rcx], ebx
Code: Select all
code:
xorps xmm14,xmm14 // if you wanna have it clean, although it doesn't matter
movss xmm14,[myFloat]
cmpss xmm14,[rcx]
jne bla
myFloat:
dd (float)2.0
Users browsing this forum: No registered users