4/17/98 6-105 Addressing Modes and Data Types
JNZ Jump if the A register is not zero
Syntax: JNZ rel8
Operation: (PC) <-- (PC) + 2
if (A) not equal to 0, then
(PC.15-0) <-- (PC + rel8*2); (PC.0) <-- 0
Description: A relative branch is taken if the contents of the 80C51 Accumulator are not zero. The
branch range is +254 bytes to -256 bytes, with the limitation that the target address is word aligned
in code memory.
The contents of the accumulator remain unaffected. This instruction is included for 80C51
compatibility. See Chapter 9 for details of 80C51 compatibility features.
Note: Refer to section 6.3 for details of jump range
Size: Bit
Flags Updated: none
Bytes: 2
Clocks: 6t/3nt
Encoding:
1 1 1 0 1 1 1 0
rel8