Intel Embedded Microcontroller Microscope & Magnifier User Manual


 
A-73
INSTRUCTION SET REFERENCE
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 33 22
States: 25 14
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: JNE
(PC) (PC) + 2
IF (Z) = 0
THEN (PC) (PC) + rel
JNZ rel
Function: Jump if accumulator not zero
Description: If any bit of the accumulator is set, branch to the specified address; otherwise proceed with
the next instruction. The branch destination is computed by adding the signed relative
displacement in the second instruction byte to the PC, after incrementing the PC twice. The
accumulator is not modified.
Flags:
Example: The accumulator contains 00H. After executing the instruction sequence
JNZ LABEL1
INC A
JNZ LABEL2
the accumulator contains 01H and program execution continues at label LABEL2.
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 22 22
States: 25 25
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: JNZ
(PC) (PC) + 2
IF (A) 0
THEN (PC) (PC) + rel
[Encoding] 0 1 1 1 1 0 0 0 rel. addr
CY AC OV N Z
———— !
[Encoding] 0 1 1 1 0 0 0 0 rel. addr