LOOPNE-LOOPNZ

LOOPNE/LOOPNZ - Loop While Not Equal / Loop While Not Zero

Decrements CX by 1 (without modifying the flags) and transfers control to “label” if CX != 0 and the Zero Flag is clear.

The “label” operand must be within -128 or 127 bytes of the instruction following the loop instruction.

Usage:

	LOOPNE	label	;
	LOOPNZ	label	;

Modifies flags:

none

Jump ? Clocks Size
Operands 808x 286 386 486 Bytes
label: Y 19 8+m 11+m 9 2
N 5 4 ? 6