ST10 FAMILY PROGRAMMING MANUAL
85/172
JMPR
Relative Conditional Jump
Syntax
JMPR
op1, op2
Operation
IF (op1) = 1 THEN
(IP)
<-- (IP) + sign_extend (op2)
ELSE
Next Instruction
END IF
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
Addressing Modes
E
Z
V
C
N
-
-
-
-
-
E
Not affected
Z
Not affected
V
Not affected
C
Not affected
N
Not affected
Mnemonic
Format
Bytes
JMPR
cc, rel
cD rr
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...