STMicroelectronics ST10 Series Programming Manual page 87

Table of Contents

Advertisement

JMPR
Syntax
Operation
Description
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 following the JMPR instruction. If the specified condition is not
met, program execution continues normally with the instruction following the JMPR instruction.
Condition Codes
See condition code Table 24 - page 35.
Flags
E
-
E
Not affected
Z
Not affected
V
Not affected
C
Not affected
N
Not affected
Addressing Modes
Mnemonic
JMPR
Relative Conditional Jump
JMPR
IF (op1) = 1 THEN
(IP)
ELSE
Next Instruction
END IF
Z
-
cc, rel
ST10 FAMILY PROGRAMMING MANUAL
op1, op2
<-- (IP) + sign_extend (op2)
V
-
Format
cD rr
C
N
-
-
Bytes
2
85/172

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST10 Series and is the answer not in the manual?

Questions and answers

Table of Contents