8051 Instruction Set Manual

JZ

The JZ instruction transfers control to the specified address if the value in the accumulator is 0. Otherwise, the next instruction is executed. Neither the accumulator nor any flags are modified by this instruction.

See Also: JNZ

JZ offset
CACF0RS1RS0OV P
Bytes2
Cycles2
Encoding
01100000offset
Operation
JZ
PC = PC + 2
IF A = 0
  PC = PC + offset
Example
JZ LABEL