ST10 FAMILY PROGRAMMING MANUAL
16/172
Branch condition codes
cc: Symbolically specifiable condition codes
cc_UC
Unconditional
cc_Z
Zero
cc_NZ
Not Zero
cc_V
Overflow
cc_NV
No Overflow
cc_N
Negative
cc_NN
Not Negative
cc_C
Carry
cc_NC
No Carry
cc_EQ
Equal
cc_NE
Not Equal
cc_ULT
Unsigned Less Than
cc_ULE
Unsigned Less Than or Equal
cc_UGE
Unsigned Greater Than or Equal
cc_UGT
Unsigned Greater Than
cc_SLE
Signed Less Than or Equal
cc_SLT
Signed Less Than
cc_SGE
Signed Greater Than or Equal
cc_SGT
Signed Greater Than
cc_NET
Not Equal and Not End-of-Table
Table 9 : Arithmetic instructions
Mnemonic
Description
Int.RO
M
Int.RA
M
16
-bit N
-Mux
1
6-bit M
u
x
8-
bit N-
Mux
8
-bit M
u
x
Byte
s
ADD
Rw, Rw
Add direct word GPR to direct GPR
2
6
2
3
4
6
2
ADD
Rw, [Rw]
Add indirect word memory to direct GPR
2
6
2
3
4
6
2
ADD
Rw, [Rw+]
Add indirect word memory to direct GPR and post-
increment source pointer by 2
2
6
2
3
4
6
2
ADD
Rw, #data
3
Add immediate word data to direct GPR
2
6
2
3
4
6
2
ADD
reg, #data
16
Add immediate word data to direct register
2
8
4
6
8
12
4
ADD
reg, mem
Add direct word memory to direct register
2
8
4
6
8
12
4
ADD
mem, reg
Add direct word register to direct memory
2
8
4
6
8
12
4
ADDB
Rb, Rb
Add direct byte GPR to direct GPR
2
6
2
3
4
6
2
ADDB
Rb, [Rw]
Add indirect byte memory to direct GPR
2
6
2
3
4
6
2
ADDB
Rb, [Rw+]
Add indirect byte memory to direct GPR and post-increment
source pointer by 1
2
6
2
3
4
6
2
ADDB
Rb, #data
3
Add immediate byte data to direct GPR
2
6
2
3
4
6
2
ADDB
reg, #data
16
Add immediate byte data to direct register
2
8
4
6
8
12
4
ADDB
reg, mem
Add direct byte memory to direct register
2
8
4
6
8
12
4
ADDB
mem, reg
Add direct byte register to direct memory
2
8
4
6
8
12
4
ADDC
Rw, Rw
Add direct word GPR to direct GPR with Carry
2
6
2
3
4
6
2
ADDC
Rw, [Rw]
Add indirect word memory to direct GPR with Carry
2
6
2
3
4
6
2
ADDC
Rw, [Rw+]
Add indirect word memory to direct GPR with Carry and
post-increment source pointer by 2
2
6
2
3
4
6
2
ADDC
Rw, #data
3
Add immediate word data to direct GPR with Carry
2
6
2
3
4
6
2
ADDC
reg, #data
16
Add immediate word data to direct register with Carry
2
8
4
6
8
12
4
ADDC
reg, mem
Add direct word memory to direct register with Carry
2
8
4
6
8
12
4
ADDC
mem, reg
Add direct word register to direct memory with Carry
2
8
4
6
8
12
4
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...