Is it possibe to perform a signed comparison with masm's high level control structures?
Hi silk.odyssey
Welcome to the forum. :8)
Can you provide an example of code snippet for what and how you are trying to compare,
e.g.
X=?
Y=?
cmp X,Y, or .IF X < Y. ::)
Chris
for example:
.if eax < 0
...
.endif
in hla I can cast eax to an int32 type which is signed
if((type int32 eax) < 0 )
endif
maybe masm has something similar.
Try using the MASM data type SDWORD PTR. Normally they are not used in mnemonic coding but are useful in the pseudo high level syntax.
Thanks i think that does the trick.