CALLR
Syntax
Operation
Description
A branch is taken to the location specified by the instruction pointer, IP, plus the relative displacement,
op1. The displacement is a two's complement number which is sign extended and counts the relative dis-
tance in words. The value of the instruction pointer (IP) is placed onto the system stack. Because the IP
always points to the instruction following the branch instruction, the value stored on the system stack rep-
resents the return address of the calling routine. The value of the IP used in the target address calculation
is the address of the instruction following the CALLR 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
CALLR
Call Subroutine Relative
CALLR
(SP)
((SP))
(IP)
Z
-
rel
ST10 FAMILY PROGRAMMING MANUAL
op1
<-- (SP) - 2
<-- (IP)
<-- (IP) + sign_extend (op1)
V
-
Format
BB rr
C
N
-
-
Bytes
2
59/172
Need help?
Do you have a question about the ST10 Series and is the answer not in the manual?
Questions and answers