| |
Jump if ECX Zero
86/88 |
N |
186 |
N |
286 |
N |
386 |
Y |
486 |
Y |
JECXZ short_label |
Ovfl |
N |
Dir |
N |
Int |
N |
Trap |
N |
Sign |
N |
Zero |
N |
Aux |
N |
Prty |
N |
Carry |
N |
JECXZ transfers control to short-label if the ECX 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
(ECX) is at 0.
------------------------------------ Timing ----------------------------------
OpCode Instruction 386 286 86
E3 cb JECXZ rel8 9+m,5
------------------------------------ Logic -----------------------------------
Jump if (ECX = 0)
See Also JCXZ LOOP LOOPE LOOPNE |