qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LOOP
   Summary  Detail  Example  Key to Flags
──────────────────────────────────────────────────────────────────────────────
 
Loop                                             Flags:  O D I T S Z A P C
                                                         ═════════════════
Syntax:  LOOP label
 
 
  Loops repeatedly to a specified label. LOOP decrements CX (with-
  out changing any flags) and if the result is not 0, transfers execution
  to the address specified by the operand. If CX is 0 after being dec-
  remented, execution continues at the next instruction. The operand must
  specify a short label (between -128 and 127 bytes from the instruction
  following the LOOP instruction).
                                    -♦-