ST10 FAMILY PROGRAMMING MANUAL
100/172
PCALL
Push Word & Call Subroutine Absolute
Syntax
PCALL op1,
op2
Operation
(tmp) <--
(op1)
(SP)
<-- (SP) - 2
((SP)) <--
(tmp)
(SP)
<-- (SP) - 2
((SP)) <--
(IP)
(IP) <--
op2
Data Types
WORD
Description
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 rep-
resents the return address of the calling routine.
Flags
Addressing Modes
E
Z
V
C
N
*
*
-
-
*
E
Set if the value of the pushed operand op1 represents the lowest possible 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 otherwise.
V
Not affected.
C
Not affected.
N
Set if the most significant bit of the pushed operand op1 is set. Cleared otherwise.
Mnemonic
Format
Bytes
PCALL
reg, caddr
E2 RR MM MM
4
Summary of Contents for ST10 Series
Page 2: ......