SH7751 Group, SH7751R Group
Section 7 Instruction Set
R01UH0457EJ0301 Rev. 3.01
Page 199 of 1128
Sep 24, 2013
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