Complete 8086 instruction set[LOOP]

LOOP

Operand: label Decrease CX, jump to label if CX not zero. Algorithm: CX = CX - 1 if CX <> 0 then jump else no jump, continue Example: include 'emu8086.inc' #make_COM# ORG 100h MOV CX, 5 label1: PRINTN 'loop!' LOOP label1 RET Flags: C Z S O P A unchanged