3
3-58
M32R-FPU Software Manual (Rev.1.01)
INSTRUCTIONS
3.2 Instruction description
ITOF
ITOF
[Mnemonic]
ITOF Rdest,Rsrc
[Function]
Convert the integer to a floating-point single precision value.
Rdes = (float) Rsrc ;
[Description]
Converts the 32-bit integer stored in Rsrc to a floating-point single precision value and stores
the result in Rdest. The result is rounded according to the RM field of FPSR. The condition bit (C)
remains unchanged. H’0000 0000 is handled as “+0” regardless of the Rounding Mode.
[EIT occurrence]
Floating-Point Exceptions (FPE)
• Inexact Exception (IXCT)
[Encoding]
floating-point Instructions
Integer to float
[M32R-FPU Extended Instruction]
src
1101
0000
0000
dest
0100
0000
0000
ITOF Rdest,Rsrc
Summary of Contents for M32R-FPU
Page 8: ...M32R FPU Software Manual Rev 1 01 This page left blank intentionally...
Page 25: ...CHAPTER 2 INSTRUCTION SET 2 1 Instruction set overview 2 2 Instruction format...
Page 39: ...CHAPTER 3 INSTRUCTIONS 3 1 Conventions for instruction description 3 2 Instruction description...
Page 189: ...INDEX...