ST10 FAMILY PROGRAMMING MANUAL
60/172
CALLS
Call Inter-Segment Subroutine
Syntax
CALLS
op1, op2
Operation
(SP)
<-- (SP) - 2
((SP)) <--
(CSP)
(SP)
<-- (SP) - 2
((SP)) <--
(IP)
(CSP) <--
op1
(IP) <--
op2
Description
A branch is taken to the absolute location specified by op2 within the segment specified by op1. 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 to the calling routine. The previous value of the CSP is also placed on the system stack to insure
correct return to the calling segment.
Condition Codes
See condition code Table 24 - page 35.
Flags
Addressing Modes
E
Z
V
C
N
-
-
-
-
-
E
Not affected
Z
Not affected
V
Not affected
C
Not affected
N
Not affected
Mnemonic
Format
Bytes
CALLS
seg, caddr
DA ss MM MM
4
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...