English
Language : 

M166 Datasheet, PDF (93/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Description
PCALL Push Word and Call Subroutine Absolute PCALL
Syntax
Operation
Data Types
Description
PCALL op1, op2
(tmp) ← (op1)
(SP) ← (SP) - 2
((SP)) ← (tmp)
(SP) ← (SP) - 2
((SP)) ← (IP)
(IP) ← op2
WORD
Pushes the word specified by operand op1 and the value of the instruction
pointer, IP, onto the system stack, and branches to the absolute memory
location specified by the second operand op2. Because 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.
Condition Flags
E
Z
V
C
N
*
*
-
-
*
Addressing Modes
E Set if the value of the pushed operand op1 represents the lowest pos-
sible negative number. Cleared otherwise. Used to signal the end of a
table.
Z Set if the value of the pushed operand op1 equals zero. Cleared other-
wise.
V Not affected.
C Not affected.
N Set if the most significant bit of the pushed operand op1 is set. Cleared
otherwise.
Mnemonic
PCALL reg, caddr
Format
E2 RR MM MM
Bytes
4
Semiconductor Group
93
Version 1.2, 12.97