30Mar98@15:00h
Semiconductor Group
80
Version 1.2, 12.97
C166 Family Instruction Set
Instruction Description
JNB
Relative Jump if Bit Clear
JNB
Syntax
JNB
op1, op2
Operation
IF (op1) = 0 THEN
(IP)
←
(IP) + sign_extend (op2)
ELSE
Next Instruction
END IF
Data Types
BIT
Description
If the bit specified by op1 is clear, program execution continues at the
location of the instruction pointer, IP, plus the specified displacement, op2.
The displacement is a two’s complement number which is sign extended
and counts the relative distance in words. The value of the IP used in the
target address calculation is the address of the instruction following the
JNB instruction. If the specified bit is set, the instruction following the JNB
instruction is executed.
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Addressing Modes
Mnemonic
Format
Bytes
JNB
bitaddr
Q.q
, rel
9A QQ rr q0
4
Condition Flags
E
Z
V
C
N
-
-
-
-
-