English
Language : 

M166 Datasheet, PDF (78/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Description
JMPR
Relative Conditional Jump
JMPR
Syntax
Operation
Description
Condition Codes
JMPR
op1, op2
IF (op1) = 1 THEN
(IP) ← (IP) + sign_extend (op2)
ELSE
Next Instruction
END IF
If the 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 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 fol-
lowing the JMPR instruction. If the specified condition is not met, program
execution continues normally with the instruction following the JMPR
instruction.
See condition code table.
Condition Flags
E
Z
V
C
N
-
-
-
-
-
Addressing Modes
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Mnemonic
JMPR
cc, rel
Format
cD rr
Bytes
2
Semiconductor Group
78
Version 1.2, 12.97