ST10 FAMILY PROGRAMMING MANUAL
24/172
Table 16 : Jump and Call Instructions (continued)
Mnemonic
Description
Int.
ROM
Int.
RAM
16-bi
t N-M
ux
16-b
it Mu
x
8-bit
N-Mu
x
8-b
it Mux
B
ytes
CALLA
cc, caddr
Call absolute subroutine if condition is met
4/2
10/8
6/4
8/6
10/8 14/12
4
CALLI
cc, [Rw]
Call indirect subroutine if condition is met
4/2
8/6
4/2
5/3
6/4
8/6
2
CALLR
rel
Call relative subroutine
4
8
4
5
6
8
2
CALLS
seg, caddr Call absolute subroutine in any code segment
4
10
6
8
10
14
4
JB
bitaddr, rel Jump relative if direct bit is set
4
10
6
8
10
14
4
JBC
bitaddr, rel Jump relative and clear bit if direct bit is set
4
10
6
8
10
14
4
JMPA
cc, caddr
Jump absolute if condition is met
4/2
10/8
6/4
8/6
10/8 14/12
4
JMPI
cc, [Rw]
Jump indirect if condition is met
4/2
8/6
4/2
5/3
6/4
8/6
2
JMPR
cc, rel
Jump relative if condition is met
4/2
8/6
4/2
5/3
6/4
8/6
2
JMPS
seg, caddr Jump absolute to a code segment
4
10
6
8
10
14
4
JNB
bitaddr, rel Jump relative if direct bit is not set
4
10
6
8
10
14
4
JNBS
bitaddr, rel Jump relative and set bit if direct bit is not set
4
10
6
8
10
14
4
PCALL
reg, caddr Push direct word register onto system stack and
call absolute subroutine
4
10
6
8
10
14
4
TRAP
#trap7
Call interrupt service routine via immediate trap
number
4
8
4
5
6
8
2
Table 17 : System Stack Instructions
Mnemonic
Description
Int.
ROM
Int.
RAM
1
6-bit
1
6-bit
8
-bit
8
-bit
B
ytes
POP
reg
Pop direct word register from system stack
2
6
2
3
4
6
2
PUSH
reg
Push direct word register onto system stack
2
6
2
3
4
6
2
SCXT
reg, #data
16
Push direct word register onto system stack and update
register with immediate data
2
8
4
6
8
12
4
SCXT
reg, mem
Push direct word register onto system stack and update
register with direct memory
2
8
4
6
8
12
4
Table 18 : Return Instructions
Mnemonic
Description
Int. RO
M
Int. RA
M
16-b
it
16-b
it
8-bi
t
8-bi
t
Byte
s
RET
Return from intra-segment subroutine
4
8
4
5
6
8
2
RETI
Return from interrupt service subroutine
4
8
4
5
6
8
2
RETP
reg
Return from intra-segment subroutine and pop direct word
register from system stack
4
8
4
5
6
8
2
RETS
Return from inter-segment subroutine
4
8
4
5
6
8
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...