ST10 FAMILY PROGRAMMING MANUAL
Table 16 : Jump and Call Instructions (continued)
Mnemonic
CALLA
cc, caddr
CALLI
cc, [Rw]
CALLR
rel
CALLS
seg, caddr Call absolute subroutine in any code segment
JB
bitaddr, rel Jump relative if direct bit is set
JBC
bitaddr, rel Jump relative and clear bit if direct bit is set
JMPA
cc, caddr
JMPI
cc, [Rw]
JMPR
cc, rel
JMPS
seg, caddr Jump absolute to a code segment
JNB
bitaddr, rel Jump relative if direct bit is not set
JNBS
bitaddr, rel Jump relative and set bit if direct bit is not set
PCALL
reg, caddr Push direct word register onto system stack and
TRAP
#trap7
Table 17 : System Stack Instructions
Mnemonic
POP
reg
PUSH
reg
SCXT
reg, #data
16
SCXT
reg, mem
Table 18 : Return Instructions
Mnemonic
RET
RETI
RETP
reg
RETS
24/172
Description
Call absolute subroutine if condition is met
Call indirect subroutine if condition is met
Call relative subroutine
Jump absolute if condition is met
Jump indirect if condition is met
Jump relative if condition is met
call absolute subroutine
Call interrupt service routine via immediate trap
number
Pop direct word register from system stack
Push direct word register onto system stack
Push direct word register onto system stack and update
register with immediate data
Push direct word register onto system stack and update
register with direct memory
Return from intra-segment subroutine
Return from interrupt service subroutine
Return from intra-segment subroutine and pop direct word
register from system stack
Return from inter-segment subroutine
4/2
4/2
4
4
4
4
4/2
4/2
4/2
4
4
4
4
4
Description
Description
10/8
6/4
8/6
10/8 14/12
8/6
4/2
5/3
6/4
8
4
5
6
10
6
8
10
10
6
8
10
10
6
8
10
10/8
6/4
8/6
10/8 14/12
8/6
4/2
5/3
6/4
8/6
4/2
5/3
6/4
10
6
8
10
10
6
8
10
10
6
8
10
10
6
8
10
8
4
5
6
2
6
2
3
2
6
2
3
2
8
4
6
2
8
4
6
4
8
4
5
4
8
4
5
4
8
4
5
4
8
4
5
4
8/6
2
8
2
14
4
14
4
14
4
4
8/6
2
8/6
2
14
4
14
4
14
4
14
4
8
2
4
6
2
4
6
2
8
12
4
8
12
4
6
8
2
6
8
2
6
8
2
6
8
2
Need help?
Do you have a question about the ST10 Series and is the answer not in the manual?
Questions and answers