Above & Below
Above & Below
Are these synonyms for greater then or less then? If not what do they mean?
Re: Above & Below
Not precisely. The difference involves signed vs. unsigned values.
If you put the value 0xdfa87590 into a 32bit register, and CMP it with 0:
"above" will be true (because we are looking at an unsigned value)
but "greater" will be false, because 0xdfa87590 is a negative (signed) number.
The synonym for greater is "not less or equal".
The synonyms for "above" are much more complicated, since they involve both "below" and "carry" (carry is a synonym for below).
If you put the value 0xdfa87590 into a 32bit register, and CMP it with 0:
"above" will be true (because we are looking at an unsigned value)
but "greater" will be false, because 0xdfa87590 is a negative (signed) number.
The synonym for greater is "not less or equal".
The synonyms for "above" are much more complicated, since they involve both "below" and "carry" (carry is a synonym for below).
Re: Above & Below
To say it more compactly: above/below is for unsigned values, greater/less is for signed values.