STMicroelectronics ST10 Series Programming Manual page 60

Table of Contents

Advertisement

ST10 FAMILY PROGRAMMING MANUAL
CALLI
Syntax
Operation
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
E
-
E
Not affected
Z
Not affected
V
Not affected
C
Not affected
N
Not affected
Addressing Modes
Mnemonic
CALLI
58/172
Call Subroutine Indirect
CALLI
IF (op1) THEN
(SP)
((SP))
(IP)
ELSE
next instruction
END IF
Z
-
cc, [Rw
]
n
op1, op2
<-- (SP) - 2
<-- (IP)
<-- (op2)
V
-
Format
AB cn
C
N
-
-
Bytes
2

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