[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LOOP             Loop on Count                       Flags: not altered

LOOP short-label

          Logic:    CX . CX - 1
                    If (CX <> 0)
                        JMP short-label

    LOOP decrements CX by 1, then transfers control to short-label if CX
    is not 0.  Short-label must be within -128 to +127 bytes of the next
    instruction.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   short-label                17/5        -        2     LOOP AGAIN
  --------------------------------------------------------------------------

See Also: LOOPE LOOPNE LOOPNZ LOOPZ JCXZ
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson