Download Print this page

Siemens C16 Series Instruction Set Manual page 93

16-bit cmos single-chip microcontrollers

Advertisement

PCALL
Syntax
Operation
Data Types
Description
Condition Flags
Addressing Modes
Semiconductor Group
30Mar98@15:00h
Push Word and Call Subroutine Absolute
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.
E
Z
*
*
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
C166 Family Instruction Set
V
C
N
-
-
*
Format
E2 RR MM MM
93
Instruction Description
PCALL
Version 1.2, 12.97
Bytes
4

Hide quick links:

Advertisement

loading