3.2.7 Control Transfer
Instructions
The control transfer instructions control
the flow of program execution.
Table 3-8 Control Transfer Instructions
| | | |
| BOUND
| detect value out of range
| boundw invalid under –m64
|
| CALL
| call procedure
|
|
| ENTER
| high-level procedure entry
|
|
| INT
| software interrupt
|
|
| INTO
| interrupt on overflow
| invalid under –m64
|
| IRET
| return from interrupt
|
|
| JA
| jump if above
|
|
| JAE
| jump if above or equal
|
|
| JB
| jump if below
|
|
| JBE
| jump if below or equal
|
|
| JC
| jump if carry
|
|
| JCXZ
| jump register %cx zero
|
|
| JE
| jump if equal
|
|
| JECXZ
| jump register %ecx zero
| invalid under –m64
|
| JG
| jump if greater
|
|
| JGE
| jump if greater or equal
|
|
| JL
| jump if less
|
|
| JLE
| jump if less or equal
|
|
| JMP
| jump
|
|
| JNAE
| jump if not above or equal
|
|
| JNB
| jump if not below
|
|
| JNBE
| jump if not below or equal
|
|
| JNC
| jump if not carry
|
|
| JNE
| jump if not equal
|
|
| JNG
| jump if not greater
|
|
| JNGE
| jump if not greater or equal
|
|
| JNL
| jump if not less
|
|
| JNLE
| jump if not less or equal
|
|
| JNO
| jump if not overflow
|
|
| JNP
| jump if not parity
|
|
| JNS
| jump if not sign (non-negative)
|
|
| JNZ
| jump if not zero
|
|
| JO
| jump if overflow
|
|
| JP
| jump if parity
|
|
| JPE
| jump if parity even
|
|
| JPO
| jump if parity odd
|
|
| JS
| jump if sign (negative)
|
|
| JZ
| jump if zero
|
|
| CALL
| call far procedure
| valid as indirect only for –m64
|
| LEAVE
| high-level procedure exit
|
|
| LOOP
| loop with %ecx counter
|
|
| LOOPE
| loop with %ecx and equal
|
|
| LOOPNE
| loop with %ecx and not equal
|
|
| LOOPNZ
| loop with %ecx and not zero
|
|
| LOOPZ
| loop with %ecx and zero
|
|
| RET
| return from far procedure
| valid as indirect only for m64
|
| RET
| return
|
|
|