EasyManua.ls Logo

ST ST10 Series - Page 35

ST ST10 Series
197 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PROGRAMMING MANUAL Standard Instruction Set
35/197
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
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
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 17 System Stack Instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
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 di-
rect 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
Table 18 Return Instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Mux
Bytes
Table 16 Jump and Call Instructions (Continued)