X86 JAE Instruction

I have an x86 code that looks like this:

;  The carry flag is set to 1 here
jae    an_address  ; The jump instruction does not take place
It makes sense?

I thought a jump should happen because 1 is greater than or equal to 0, definition JAE?

+4
source share
2 answers

jaecoincides with jnc, that is, jump if CF == 0. Choose between all 3 mnemonics (including jnb) up to the programmer. CF here is not set to mov, but according to the previous instructions. Mnemonics is jaerecommended after the comparison ( cmp) command , which does the subtraction. For more information, see the Intel or AMD software developer guides.

+5
source

jae Jump, . , 0.

jnae jb

+5

All Articles