Keil Logo Arm Logo

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
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 2
Encoding
01100000 offset
Operation
JZ
PC = PC + 2
IF A = 0
  PC = PC + offset
Example
JZ LABEL

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.