Joined: 17 Feb 2016
|Posted: Tue May 24, 2016 10:29 pm Post subject: cmp and jnl.(Fixed)
|Please take a look at the following code:
I did the following test:
if cl == 60, bl == 5F, then "jge 12345678" is executed, which is correct because 60 is no less than 5F. However, if cl == CA, bl == 5F, "jge 12345678" is not executed, which is weird. Shouldn't CA >= 5F ?
Thanks in advance.
Problem fixed, instead of "jge", it should be "jae", it's for unsigned integers.