Section 2 CPU
Rev. 2.00 Mar 09, 2006 page 79 of 906
REJ09B0292-0200
Table 2.21 Arithmetic Instructions
Instruction
Instruction Code
Operation
Cycles
T Bit
ADD
Rm,Rn
0011nnnnmmmm1100
Rn + Rm
→
Rn
1
—
ADD
#imm,Rn
0111nnnniiiiiiii
Rn + imm
→
Rn
1
—
ADDC
Rm,Rn
0011nnnnmmmm1110
Rn + Rm + T
→
Rn,
Carry
→
T
1
Carry
ADDV
Rm,Rn
0011nnnnmmmm1111
Rn + Rm
→
Rn,
Overflow
→
T
1
Overflow
CMP/EQ
#imm,R0
10001000iiiiiiii
If R0 = imm, 1
→
T
1
Comparison
result
CMP/EQ
Rm,Rn
0011nnnnmmmm0000
If Rn = Rm, 1
→
T
1
Comparison
result
CMP/HS
Rm,Rn
0011nnnnmmmm0010
If Rn
≥
Rm with
unsigned data, 1
→
T
1
Comparison
result
CMP/GE
Rm,Rn
0011nnnnmmmm0011
If Rn
≥
Rm with signed
data, 1
→
T
1
Comparison
result
CMP/HI
Rm,Rn
0011nnnnmmmm0110
If Rn > Rm with
unsigned data, 1
→
T
1
Comparison
result
CMP/GT
Rm,Rn
0011nnnnmmmm0111
If Rn > Rm with signed
data, 1
→
T
1
Comparison
result
CMP/PL
Rn
0100nnnn00010101
If Rn > 0, 1
→
T
1
Comparison
result
CMP/PZ
Rn
0100nnnn00010001
If Rn
≥
0, 1
→
T
1
Comparison
result
CMP/STR Rm,Rn
0010nnnnmmmm1100
If Rn and Rm contain
an identical byte,
1
→
T
1
Comparison
result
DIV1
Rm,Rn
0011nnnnmmmm0100
Single-step division
(Rn/Rm)
1
Calculation
result
DIV0S
Rm,Rn
0010nnnnmmmm0111
MSB of Rn
→
Q, MSB
of Rm
→
M, M ^ Q
→
T
1
Calculation
result
DIV0U
0000000000011001
0
→
M/Q/T
1
0
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...