Infineon Technologies C166S V2 User Manual page 267

16-bit microcontroller
Table of Contents

Advertisement

JMPR
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
IF ((op1) = 1) THEN
ELSE
END IF
Description
If the extended condition specified by op1 is met, 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 JMPR instruction. If the specified condition is
not met, program execution continues normally with the instruction following the JMPR
instruction.
CPU Flags
E
Not affected.
Z
Not affected.
V
Not affected.
C
Not affected.
N
Not affected.
Encoding
Mnemonic
JMPR
cc , rel
User Manual
Relative Conditional Jump
Jump Instructions
JMPR op1, op2
op1 → condition code
op2 → 8-bit signed displacement
none
(IP) ← (IP) + 2*sign_extend(op2)
Next Instruction
E
Z
-
-
Detailed Instruction Description
V
C
-
-
Format
cD rr
8-267
User Manual
C166S V2
JMPR
N
-
Bytes
2
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents