Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>jcxz jump if cx register zero flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
JCXZ             Jump If CX Register Zero            Flags: not altered

JCXZ short-label

          Jump Condition:      Jump if CX = 0

    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.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   short-label              18 or 6       -        2     JCXZ COUNT_DONE
  --------------------------------------------------------------------------

       Note:          This instruction is commonly used at the beginning
                      of a loop to bypass the loop if the counter variable
                      (CX) is at 0.

See Also: LOOP LOOPE LOOPZ LOOPNZ LOOPNE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson