EasyManua.ls Logo

ST ST10 Series - Page 25

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
25/197
ADDCB Rb, [Rw+] Add indirect byte memory to direct GPR with Carry
and post-increment source pointer by 1
2 6 2 3 4 6 2
ADDCB Rb, #data
3
Add immediate byte data to direct GPR with Carry 2 6 2 3 4 6 2
ADDCB reg, #data
16
Add immediate byte data to direct register with Carry 2 8 4 6 8 12 4
ADDCB reg, mem Add direct byte memory to direct register with Carry 2 8 4 6 8 12 4
ADDCB mem, reg Add direct byte register to direct memory with Carry 2 8 4 6 8 12 4
CPL Rw Complement direct word GPR 2 6 2 3 4 6 2
CPLB Rb Complement direct byte GPR 2 6 2 3 4 6 2
DIV Rw Signed divide register MDL by direct GPR
(16-/16-bit)
20 24 20 21 22 24 2
DIVL Rw Signed long divide register MD by direct GPR
(32-/16-bit)
20 24 20 21 22 24 2
DIVLU Rw Unsigned long divide register MD by direct GPR
(32-/16-bit)
20 24 20 21 22 24 2
DIVU Rw Unsigned divide register MDL by direct GPR
(16-/16-bit)
20 24 20 21 22 24 2
MUL Rw, Rw Signed multiply direct GPR by direct GPR (16-16-bit) 10 14 10 11 12 14 2
MULU Rw, Rw Unsigned multiply direct GPR by direct GPR
(16-16-bit)
10 14 10 11 12 14 2
NEG Rw Negate direct word GPR 2 6 2 3 4 6 2
NEGB Rb Negate direct byte GPR 2 6 2 3 4 6 2
SUB Rw, Rw Subtract direct word GPR from direct GPR 2 6 2 3 4 6 2
SUB Rw, [Rw] Subtract indirect word memory from direct GPR 2 6 2 3 4 6 2
SUB Rw, [Rw+] Subtract indirect word memory from direct GPR &
post-increment source pointer by 2
2 6 2 3 4 6 2
SUB Rw, #data
3
Subtract immediate word data from direct GPR 2 6 2 3 4 6 2
SUB reg, #data
16
Subtract immediate word data from direct register 2 8 4 6 8 12 4
SUB reg, mem Subtract direct word memory from direct register 2 8 4 6 8 12 4
Mnemonic Description
Int.ROM
Int.RAM
16-bit Non
16-bit Mux
8-bitNon
8-bit Mux
Bytes
Table 9 Arithmetic instructions (Continued)