user manual

A-71
INSTRUCTION SET REFERENCE
Flags:
Example: Input port 1 contains 11001010B and the accumulator contains 56H (01010110B). After
executing the instruction sequence
JNB P1.3,LABEL1
JNB ACC.3,LABEL2
program execution continues at label LABEL2.
Variations
JNB bit51,rel
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 33 33
States: 25 25
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: JNB
(PC) (PC) + 3
IF (bit51) = 0
THEN (PC) (PC) + rel
JNB bit,rel
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 55 44
States: 4 7 3 6
[Encoding]
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: JNB
(PC) (PC) + 3
IF (bit) = 0
THEN
(PC) (PC) + rel
CY AC OV N Z
—————
[Encoding] 0 0 1 1 0 0 0 0 bit addr rel. addr
1 0 1 0 1 0 0 1 0 0 1 1 0 y y direct addr rel. addr