Download Print this page

Siemens C16 Series Instruction Set Manual page 50

16-bit cmos single-chip microcontrollers

Advertisement

CALLA
Syntax
Operation
Description
Condition Codes
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Call Subroutine Absolute
CALLA
op1, op2
IF (op1) THEN
(SP) ← (SP) - 2
((SP)) ← (IP)
(IP) ← op2
ELSE
next instruction
END IF
If the condition specified by op1 is met, a branch to the absolute memory
location specified 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 represents the return address of the calling
routine. If the condition is not met, no action is taken and the next instruc-
tion is executed normally.
See condition code table.
E
Z
-
-
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Mnemonic
CALLA
cc, caddr
C166 Family Instruction Set
V
C
N
-
-
-
Format
CA c0 MM MM
50
Instruction Description
CALLA
Version 1.2, 12.97
Bytes
4

Hide quick links:

Advertisement

loading