Complete 8086 instruction set[REP]

REP

Operand: chain instruction Repeat following MOVSB, MOVSW, LODSB, LODSW, STOSB, STOSW instructions CX times. Algorithm: check_cx: if CX <> 0 then do following *chain instruction* CX = CX - 1 go back to check_cx else exit from REP cycle Flags: Z r