| |
Jump if CX Zero
86/88 |
Y |
186 |
Y |
286 |
Y |
386 |
Y |
486 |
Y |
JCXZ short_label |
Ovfl |
N |
Dir |
N |
Int |
N |
Trap |
N |
Sign |
N |
Zero |
N |
Aux |
N |
Prty |
N |
Carry |
N |
JCXZ transfers control to short-label if the CX register is 0. The
target of the jump must be within -128 to +127 bytes of the next
instruction.
Note: This instruction is commonly used at the beginning
of a loop to bypass the loop if the counter variable
(CX) is at 0.
------------------------------------ Timing ----------------------------------
OpCode Instruction 386 286 86
E3 cb JCXZ rel8 9+m,5 8,4 18,6
------------------------------------ Logic -----------------------------------
Jump if (CX = 0)
See Also JECXZ LOOP LOOPE LOOPNE |