Rev. 1.50, 10/04, page 395 of 448
10.3.13 FMOV (Floating-point Move): Floating-Point Instruction
No. SZ Format
Operation
Instruction Code
Cycle
T Bit
1. 0
FMOV FRm,FRn
FRm
→
FRn
1111nnnnmmmm1100
1
—
2. 1
FMOV DRm,DRn
DRm
→
DRn
1111nnn0mmm01100
1 —
3. 0
FMOV.S FRm,@Rn
FRm
→
(Rn)
1111nnnnmmmm1010
1 —
4. 1
FMOV DRm,@Rn
DRm
→
(Rn)
1111nnnnmmm01010
1 —
5. 0
FMOV.S @Rm,FRn
(Rm)
→
FRn
1111nnnnmmmm1000
1 —
6. 1
FMOV @Rm,DRn
(Rm)
→
DRn
1111nnn0mmmm1000
1 —
7. 0
FMOV.S @Rm+,FRn
(Rm)
→
FRn,Rm+4
→
Rm
1111nnnnmmmm1001
1 —
8. 1
FMOV @Rm+,DRn
(Rm)
→
DRn, Rm+8
→
Rm
1111nnn0mmmm1001
1 —
9. 0
FMOV.S FRm,@-Rn
Rn-4
→
Rn,FRm
→
(Rn)
1111nnnnmmmm1011
1 —
10. 1
FMOV DRm,@-Rn
Rn-8
→
Rn,DRm
→
(Rn)
1111nnnnmmm01011
1 —
11. 0
FMOV.S @(R0,Rm),FRn
(R0+Rm)
→
FRn
1111nnnnmmmm0110
1 —
12. 1
FMOV @(R0,Rm),DRn
(R0+Rm)
→
DRn
1111nnn0mmmm0110
1 —
13. 0
FMOV.S FRm,@(R0,Rn)
FRm
→
(R0+Rn)
1111nnnnmmmm0111
1 —
14. 1
FMOV DRm,@(R0,Rn)
DRm
→
(R0+Rn)
1111nnnnmmm00111
1 —
Description:
1. This instruction transfers FRm contents to FRn.
2. This instruction transfers DRm contents to DRn.
3. This instruction transfers FRm contents to memory at address indicated by Rn.
4. This instruction transfers DRm contents to memory at address indicated by Rn.
5. This instruction transfers contents of memory at address indicated by Rm to FRn.
6. This instruction transfers contents of memory at address indicated by Rm to DRn.
7. This instruction transfers contents of memory at address indicated by Rm to FRn, and adds 4 to
Rm.
8. This instruction transfers contents of memory at address indicated by Rm to DRn, and adds 8
to Rm.
9. This instruction subtracts 4 from Rn, and transfers FRm contents to memory at address
indicated by resulting Rn value.
10. This instruction subtracts 8 from Rn, and transfers DRm contents to memory at address
indicated by resulting Rn value.
11. This instruction transfers contents of memory at address indicated by (R0 + Rm) to FRn.
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 ...