JCXZ
Operand:
label
Short Jump if CX register is 0.
Algorithm:
if CX = 0 then jump
Example:
include 'emu8086.inc'
#make_COM#
ORG 100h
MOV CX, 0
JCXZ label1
PRINT 'CX is not zero.'
JMP exit
label1:
PRINT 'CX is zero.'
exit:
RET
Flags:
C Z S O P A
unchanged