3
3-118
M32R-FPU Software Manual (Rev.1.01)
INSTRUCTIONS
3.2 Instruction description
UTOF
UTOF
Floating Point Instructions
Unsigned integer to float
[M32R-FPU Extended Instruction]
[Mnemonic]
UTOF Rdest,Rsrc
[Function]
Convert from unsigned integer to floating-point single precision value.
Rdest = ( float ) ( unsigned int ) Rsrc ;
[Description]
UTOF converts the 32-bit unsigned integer stored in Rsrc to a floating-point single precision
value, and the result is stored in Rdest. The result is rounded according to the RM field in FPSR.
The condition bit (C) remains unchanged.
H’0000 0000 is treated as “+0” regardless of the Rounding Mode.
[EIT occurrence]
Floating-Point Exceptions (FPE)
• Inexact Exception (IXCT)
[Encoding]
src
1101
0000
0000
dest
0100
0000
0100
UTOF Rdest,Rsrc
Содержание M32R-FPU
Страница 8: ...M32R FPU Software Manual Rev 1 01 This page left blank intentionally...
Страница 25: ...CHAPTER 2 INSTRUCTION SET 2 1 Instruction set overview 2 2 Instruction format...
Страница 39: ...CHAPTER 3 INSTRUCTIONS 3 1 Conventions for instruction description 3 2 Instruction description...
Страница 189: ...INDEX...
Страница 194: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M32R FPU REJ09B0112 0101Z Software Manual...