Rev. 1.50, 10/04, page 34 of 448
Instruction Operation
Instruction Code
Privileged
T Bit
New
DT
Rn
Rn – 1
→
Rn;
when Rn = 0, 1
→
T
When Rn
≠
0, 0
→
T
0100nnnn00010000
— Comparison
result
—
EXTS.B Rm,Rn
Rm sign-extended from
byte
→
Rn
0110nnnnmmmm1110
— — —
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
—
Summary of Contents for SuperH SH-4A
Page 2: ...Rev 1 50 10 04 page ii of xx ...
Page 8: ...Rev 1 50 10 04 page viii of xx ...
Page 116: ...Rev 1 50 10 04 page 96 of 448 ...
Page 178: ...Rev 1 50 10 04 page 158 of 448 ...
Page 206: ...Rev 1 50 10 04 page 186 of 448 ...
Page 231: ...Rev 1 50 10 04 page 211 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 235: ...Rev 1 50 10 04 page 215 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 238: ...Rev 1 50 10 04 page 218 of 448 Possible Exceptions Slot illegal instruction exception ...
Page 408: ...Rev 1 50 10 04 page 388 of 448 Possible Exceptions Inexact Not generated when FPSCR PR 1 ...
Page 446: ...Rev 1 50 10 04 page 426 of 448 ...
Page 468: ...Rev 1 50 10 04 page 448 of 448 ...
Page 471: ......
Page 472: ...SH 4A Software Manual ...