
JCXZ | JUMP IF ex | JCXZ |
| REGISTER ZERO |
|
Operation: | Flags Affected: |
|
if (CX) = 0 then | None |
|
(lP) - (IP) + disp
Description:
JCXZ short-label
JeXZ (Jump if ex Zero) transfers control to the target operand if ex is O. This instruction is useful at the beginning of a loop to bypass the loop if ex has a zero value, i.e., to execute the loop zero times.
Encoding:
1111 00011 disp
JCXZ Operands | Clocks | Transfers | Bytes JCXZ Coding Example |
18 or 6 | - | 2 JCXZ COUNT_DONE |