ST10 FAMILY PROGRAMMING MANUAL
58/172
CALLI
Call Subroutine Indirect
Syntax
CALLI op1,
op2
Operation
IF (op1) THEN
(SP)
<-- (SP) - 2
((SP)) <--
(IP)
(IP) <--
(op2)
ELSE
next instruction
END IF
Description
If the condition specified by op1 is met, a branch to the location specified indirectly by the second operand
op2 is taken. 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. If the condition is not met, no action is taken and the next
instruction is executed normally.
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
CALLI
cc, [Rw
n
]
AB cn
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...