ST10 FAMILY PROGRAMMING MANUAL
18/172
SUBB
reg, mem
Subtract direct byte memory from direct register
2
8
4
6
8
12
4
SUBB
mem, reg
Subtract direct byte register from direct memory
2
8
4
6
8
12
4
SUBC
Rw, Rw
Subtract direct word GPR from direct GPR with Carry
2
6
2
3
4
6
2
SUBC
Rw, [Rw]
Subtract indirect word memory from direct GPR with Carry
2
6
2
3
4
6
2
SUBC
Rw, [Rw+]
Subtract indirect word memory from direct GPR with Carry
and post-increment source pointer by 2
2
6
2
3
4
6
2
SUBC
Rw, #data
3
Subtract immediate word data from direct GPR with Carry
2
6
2
3
4
6
2
SUBC
reg, #data
16
Subtract immediate word data from direct register with
Carry
2
8
4
6
8
12
4
SUBC
reg, mem
Subtract direct word memory from direct register with Carry
2
8
4
6
8
12
4
SUBC
mem, reg
Subtract direct word register from direct memory with Carry
2
8
4
6
8
12
4
SUBCB
Rb, Rb
Subtract direct byte GPR from direct GPR with Carry
2
6
2
3
4
6
2
SUBCB
Rb, [Rw]
Subtract indirect byte memory from direct GPR with Carry
2
6
2
3
4
6
2
SUBCB
Rb, [Rw+]
Subtract indirect byte memory from direct GPR with Carry
and post-increment source pointer by 1
2
6
2
3
4
6
2
SUBCB
Rb, #data
3
Subtract immediate byte data from direct GPR with Carry
2
6
2
3
4
6
2
SUBCB
reg, #data
16
Subtract immediate byte data from direct register with Carry
2
8
4
6
8
12
4
SUBCB
reg, mem
Subtract direct byte memory from direct register with Carry
2
8
4
6
8
12
4
SUBCB
mem, reg
Subtract direct byte register from direct memory with Carry
2
8
4
6
8
12
4
Table 9 : Arithmetic instructions (continued)
Mnemonic
Description
Int.RO
M
Int.RA
M
16-
bit N-
Mux
16
-bit M
u
x
8-b
it N-M
ux
8
-bit M
u
x
Byte
s
Table 10 : Logical instructions
Mnemonic
Description
In
t RO
M
In
t. RA
M
16-
bit N-
Mux
16
-bit M
u
x
8-b
it N-M
ux
8-
bit MU
X
Bytes
AND
Rw, Rw
Bitwise AND direct word GPR with direct GPR
2
6
2
3
4
6
2
AND
Rw, [Rw]
Bitwise AND indirect word memory with direct GPR
2
6
2
3
4
6
2
AND
Rw, [Rw+]
Bitwise AND indirect word memory with direct GPR and
post-increment source pointer by 2
2
6
2
3
4
6
2
AND
Rw, #data
3
Bitwise AND immediate word data with direct GPR
2
6
2
3
4
6
2
AND
reg, #data
16
Bitwise AND immediate word data with direct register
2
8
4
6
8
12
4
AND
reg, mem
Bitwise AND direct word memory with direct register
2
8
4
6
8
12
4
AND
mem, reg
Bitwise AND direct word register with direct memory
2
8
4
6
8
12
4
ANDB
Rb, Rb
Bitwise AND direct byte GPR with direct GPR
2
6
2
3
4
6
2
ANDB
Rb, [Rw]
Bitwise AND indirect byte memory with direct GPR
2
6
2
3
4
6
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...