Infineon Technologies C166S V2 User Manual page 269

16-bit microcontroller
Table of Contents

Advertisement

JNB
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
IF ((op1) = 0) THEN
ELSE
END IF
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 2s
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, program execution
continues normally with the instruction following the JNB instruction.
CPU Flags
E
Not affected.
Z
Not affected.
V
Not affected.
C
Not affected.
N
Not affected.
Encoding
Mnemonic
JNB
bitaddr
User Manual
Relative Jump if Bit Clear
Jump Instructions
JNB op1, op2
op1 → BIT
op2 → 8-bit signed displacement
none
(IP) ← (IP) + 2*sign_extend(op2)
Next Instruction
E
Z
-
-
, rel
Q.q
Detailed Instruction Description
V
C
-
-
Format
9A QQ rr q0
8-269
User Manual
C166S V2
JNB
N
-
Bytes
4
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents