qa.hlp (Table of Contents; Topic list)
REP
   Summary  Detail  Example  Key to Flags
──────────────────────────────────────────────────────────────────────────────
 
Repeat String                                    Flags:  O D I T S Z A P C
                                                         ═════════════════
Syntax:  REP instruction
 
  Repeats the string instruction the number of times indicated by CX.
  For each string element, the string instruction is performed and CX
  is decremented. When CX reaches 0, execution continues with the next
  instruction. REP is normally used with MOVS and STOS. (REP
  LODS is legal, but has the same effect as LODS.) REP is addi-
  tionally used with INS and OUTS on the 80186-80386 processors. On
  all processors except the 80386, combining a repeat prefix with a segment
  override may cause errors if an interrupt occurs during a string operation.
                                    -♦-