Download Print this page

Siemens C16 Series Instruction Set Manual page 78

16-bit cmos single-chip microcontrollers

Advertisement

JMPR
Syntax
Operation
Description
Condition Codes
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Relative Conditional Jump
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.
E
Z
-
-
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Mnemonic
JMPR
cc, rel
C166 Family Instruction Set
V
C
N
-
-
-
Format
cD rr
78
Instruction Description
JMPR
Version 1.2, 12.97
Bytes
2

Hide quick links:

Advertisement

loading