Fmov - Hitachi SH7750 Programming Manual

High-performance risc engine superh (sh) 32-bit risc mcu/mpu series
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

10.37

FMOV

Floating-Point
Transfer
SZ Format
0
1. FMOV
FRm,FRn
1
2. FMOV
DRm,DRn
0
3. FMOV.S FRm,@Rn
1
4. FMOV
DRm,@Rn
0
5. FMOV.S @Rm,FRn
1
6. FMOV
@Rm,DRn
0
7. FMOV.S @Rm+,FRn
1
8. FMOV
@Rm+,DRn
0
9. FMOV.S FRm,@-Rn
1
10. FMOV DRm,@-Rn
11. FMOV.S @(R0,Rm),FRn (R0+Rm) → FRn
0
@(R0,Rm),DRn (R0+Rm) → DRn
1
12. FMOV
13. FMOV.S FRm, @(R0,Rn) FRm → (R0+Rn)
0
DRm, @(R0,Rn) DRm → (R0+Rn)
1
14. FMOV
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.
Floating-point MOVe
Summary of
Operation
FRm → FRn
DRm → DRn
FRm → (Rn)
DRm → (Rn)
(Rm) → FRn
(Rm) → DRn
(Rm) → FRn,Rm+=4 1111nnnnmmmm1001 1
(Rm) → DRn,Rm+=8 1111nnn0mmmm1001 1
Rn-=4,FRm → (Rn)
Rn-=8,DRm → (Rn)
Floating-Point Instruction
Instruction Code
1111nnnnmmmm1100 1
1111nnn0mmm01100 1
1111nnnnmmmm1010 1
1111nnnnmmm01010 1
1111nnnnmmmm1000 1
1111nnn0mmmm1000 1
1111nnnnmmmm1011 1
1111nnnnmmm01011 1
1111nnnnmmmm0110 1
1111nnn0mmmm0110 1
1111nnnnmmmm0111 1
1111nnnnmmm00111 1
Rev. 2.0, 03/99, page 271 of 396
Execution
States
T Bit

Advertisement

Table of Contents
loading

Table of Contents