Rev. 1.50, 10/04, page 32 of 448
Instruction Operation
Instruction Code
Privileged
T Bit
New
MOV.B
R0,@(disp
*
,GBR)
R0
→
(disp + GBR)
11000000dddddddd
— —
—
MOV.W
R0,@(disp
*
,GBR)
R0
→
(disp
×
2 + GBR)
11000001dddddddd
— —
—
MOV.L
R0,@(disp
*
,GBR)
R0
→
(disp
×
4 + GBR)
11000010dddddddd
— —
—
MOV.B
@(disp
*
,GBR),R0
(disp + GBR)
→
sign extension
→
R0
11000100dddddddd
— —
—
MOV.W
@(disp
*
,GBR),R0
(disp
×
2 + GBR)
→
sign extension
→
R0
11000101dddddddd
— —
—
MOV.L
@(disp
*
,GBR),R0
(disp
×
4 + GBR)
→
R0
11000110dddddddd
— —
—
MOVA @(disp
*
,PC),R0 disp
×
4 +
PC & H'FFFF FFFC
+ 4
→
R0
11000111dddddddd
— —
—
MOVCO.L R0,@Rn
LDST
→
T
If (T == 1) R0
→
(Rn)
0
→
LDST
0000nnnn01110011
LDST
New
MOVLI.L @Rm,R0
1
→
LDST
(Rm)
→
R0
When interrupt/exception
occurred 0
→
LDST
0000mmmm01100011
New
MOVUA.L @Rm,R0
(Rm)
→
R0
Load non-boundary
alignment data
0100mmmm10101001
New
MOVUA.L @Rm+,R0
(Rm)
→
R0, Rm + 4
→
Rm
Load non-boundary
alignment data
0100mmmm11101001
New
MOVT Rn
T
→
Rn
0000nnnn00101001
— —
—
SWAP.B Rm,Rn
Rm
→
swap lower 2 bytes
→
Rn
0110nnnnmmmm1000
— —
—
SWAP.W Rm,Rn
Rm
→
swap upper/lower
words
→
Rn
0110nnnnmmmm1001
— —
—
XTRCT
Rm,Rn
Rm:Rn middle 32 bits
→
Rn
0010nnnnmmmm1101
— —
—
Note:
*
The assembler of Renesas uses the value after scaling (
×
1,
×
2, or
×
4) as the
displacement (disp).
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 ...