R01UH0823EJ0100 Rev.1.00 Page 76 of 1823
Jul 31, 2019
RX23W Group 2. CPU
2.2.2.9 Floating-Point Status Word (FPSW)
b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16
FSFXFUFZFOFV——————————
Value after reset:
0000000000000000
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
— EX EU EZ EO EV — DN CE CX CU CZ CO CV RM[1:0]
Value after reset:
0000000100000000
Bit Symbol Bit Name Description R/W
b1, b0 RM[1:0] Floating-Point Rounding-Mode
Setting
b1 b0
0 0: Rounding towards the nearest value
0 1: Rounding towards 0
1 0: Rounding towards +
ï‚¥
1 1: Rounding towards –
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 Unimplemented Processing Cause
Flag
0: No unimplemented processing has been encountered.
1: Unimplemented 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 This bit is read as 0. The write value should be 0. 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 These bits are read as 0. The write value should be 0. R/W
b26 FV*
3
Invalid Operation Flag 0: No invalid operation has been encountered.
1: Invalid operation has been encountered.*
8
R/W
b27 FO*
4
Overflow Flag 0: No overflow has occurred.
1: Overflow has occurred.*
8
R/W
b28 FZ*
5
Division-by-Zero Flag 0: No division-by-zero has occurred.
1: Division-by-zero has occurred.*
8
R/W
b29 FU*
6
Underflow Flag 0: No underflow has occurred.
1: Underflow has occurred.*
8
R/W
b30 FX*
7
Inexact Flag 0: No inexact exception has been generated.
1: Inexact exception has been generated.*
8
R/W