RX610 Group
2. CPU
R01UH0032EJ0120 Rev.1.20
Page 61 of 1006
Feb 20, 2013
2.2.2.8
Floating-Point Status Word (FPSW)
CZ
EX
EU
EZ
EO
EV
DN
CE
CX
CU
CO
CV
RM[1 0]
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
b4
b15
b8
b7
b3
b2
b1
0
b0
b14
b13
b12
b11
b10
b9
b6
b5
Value after reset:
FS
FO
FZ
FX
FU
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
b31
b26
b27
b23
b25
b24
b21
b20
b19
b18
b17
b16
Value after reset:
b30
b29
b28
b22
FV
Bit
Symbol Bit Name
Description
R/W
b1, b0
RM[1:0] Floating-Point Rounding-Mode Setting
b1 b0
0 0: Rounding to the nearest value
0 1: Rounding to 0
1 0: Rounding to +
∞
1 1: Rounding to –
∞
R/W
b2
CV
Invalid Operation Cause Flag
0: No invalid operation has been encountered.
1: Invalid operation has been encountered.
R/(W)
*
1
b3
CO
Overflow Cause Flag
0: No overflow has occurred.
1: Overflow has occurred.
R/(W)
*
1
b4
CZ
Division-by-Zero Cause Flag
0: No division-by-zero has occurred.
1: Division-by-zero has occurred.
R/(W)
*
1
b5
CU
Underflow Cause Flag
0: No underflow has occurred.
1: Underflow has occurred.
R/(W)
*
1
b6
CX
Inexact Cause Flag
0: No inexact exception has been generated.
1: Inexact exception has been generated.
R/(W)
*
1
b7
CE
Un-Implemented Processing Cause Flag
0: No un-implemented processing has been
encountered.
1: Un-implemented process has been
encountered.
R/(W)
*
1
b8
DN
0 Flush Bit of Denormalized Number
0: A denormalized number is handled as a
denormalized number.
1: A denormalized number is handled as 0.
*
2
R/W
b9
Reserved
The value read is always 0. When writing,
write 0 to this bit.
R/W
b10
EV
Invalid Operation Exception Enable
0: Invalid operation exception is masked.
1: Invalid operation exception is enabled.
R/W
b11
EO
Overflow Exception Enable
0: Overflow exception is masked.
1: Overflow exception is enabled.
R/W
b12
EZ
Division-by-Zero Exception Enable
0: Division-by-zero exception is masked.
1: Division-by-zero exception is enabled.
R/W
b13
EU
Underflow Exception Enable
0: Underflow exception is masked.
1: Underflow exception is enabled.
R/W
b14
EX
Inexact Exception Enable
0: Inexact exception is masked.
1: Inexact exception is enabled.
R/W
b25 to b15
Reserved
The value read is always 0. When writing,
write 0 to these bits.
R/W