Rev. 6.0, 07/02, page 183 of 986
Table 7.4
Arithmetic Operation Instructions (cont)
Instruction
Operation
Instruction Code
Privileged
T Bit
EXTS.W
Rm,Rn
Rm sign-extended from
word
→
Rn
0110nnnnmmmm1111
—
—
EXTU.B
Rm,Rn
Rm zero-extended from
byte
→
Rn
0110nnnnmmmm1100
—
—
EXTU.W
Rm,Rn
Rm zero-extended from
word
→
Rn
0110nnnnmmmm1101
—
—
MAC.L
@Rm+,@Rn+ Signed, (Rn)
×
(Rm) + MAC
→
MAC
Rn + 4
→
Rn, Rm + 4
→
Rm
32
×
32 + 64
→
64 bits
0000nnnnmmmm1111
—
—
MAC.W
@Rm+,@Rn+ Signed, (Rn)
×
(Rm) + MAC
→
MAC
Rn + 2
→
Rn, Rm + 2
→
Rm
16
×
16 + 64
→
64 bits
0100nnnnmmmm1111
—
—
MUL.L
Rm,Rn
Rn
×
Rm
→
MACL
32
×
32
→
32 bits
0000nnnnmmmm0111
—
—
MULS.W
Rm,Rn
Signed, Rn
×
Rm
→
MACL
16
×
16
→
32 bits
0010nnnnmmmm1111
—
—
MULU.W
Rm,Rn
Unsigned, Rn
×
Rm
→
MACL
16
×
16
→
32 bits
0010nnnnmmmm1110
—
—
NEG
Rm,Rn
0 – Rm
→
Rn
0110nnnnmmmm1011
—
—
NEGC
Rm,Rn
0 – Rm – T
→
Rn, borrow
→
T
0110nnnnmmmm1010
—
Borrow
SUB
Rm,Rn
Rn – Rm
→
Rn
0011nnnnmmmm1000
—
—
SUBC
Rm,Rn
Rn – Rm – T
→
Rn, borrow
→
T
0011nnnnmmmm1010
—
Borrow
SUBV
Rm,Rn
Rn – Rm
→
Rn, underflow
→
T
0011nnnnmmmm1011
—
Underflow
Содержание SH7750 series
Страница 106: ...Rev 6 0 07 02 page 56 of 986 ...
Страница 144: ...Rev 6 0 07 02 page 94 of 986 ...
Страница 242: ...Rev 6 0 07 02 page 192 of 986 ...
Страница 270: ...Rev 6 0 07 02 page 220 of 986 ...
Страница 360: ...Rev 6 0 07 02 page 310 of 986 ...
Страница 538: ...Rev 6 0 07 02 page 488 of 986 ...
Страница 706: ...Rev 6 0 07 02 page 656 of 986 ...
Страница 752: ...Rev 6 0 07 02 page 702 of 986 ...
Страница 780: ...Rev 6 0 07 02 page 730 of 986 ...
Страница 822: ...Rev 6 0 07 02 page 772 of 986 ...
Страница 986: ...Rev 6 0 07 02 page 936 of 986 ...
Страница 1030: ...Rev 6 0 07 02 page 980 of 986 ...
Страница 1036: ...Rev 6 0 07 02 page 986 of 986 ...