EasyManua.ls Logo

ST ST10 Series - Page 34

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...
Standard Instruction Set PROGRAMMING MANUAL
34/197
MOVBS Rw, Rb Move direct byte GPR with sign extension to
direct word GPR
2 6 2 3 4 6 2
MOVBS reg, mem Move direct byte memory with sign extension
to direct word register
2 8 4 6 8 12 4
MOVBS mem, reg Move direct byte register with sign extension
to direct word memory
2 8 4 6 8 12 4
MOVBZ Rw, Rb Move direct byte GPR with zero extension to
direct word GPR
2 6 2 3 4 6 2
MOVBZ reg, mem Move direct byte memory with zero extension
to direct word register
2 8 4 6 8 12 4
MOVBZ mem, reg Move direct byte register with zero extension
to direct word memory
2 8 4 6 8 12 4
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Mux
Bytes
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 seg-
ment
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
Table 16 Jump and Call Instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
Table 15 Data movement instructions (Continued)