RX610 Group
2. CPU
R01UH0032EJ0120 Rev.1.20
Page 58 of 1006
Feb 20, 2013
2.2.2.4
Processor Status Word (PSW)
C
O
S
Z
0
0
0
0
0
0
0
0
0
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:
IPL[2:0]
*
PM
U
I
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
b30
b29
b28
b22
Value after reset:
Note:
*
The MVTIPL instruction is not supported in the RX610 Group. When writing to PSW.IPL[2:0], use the MVTC instruction.
Bit
Symbol
Bit Name
Description
R/W
b0
C
Carry Flag
0: No carry has occurred.
1: A carry has occurred.
R/W
b1
Z
Zero Flag
0: Result is non-zero.
1: Result is 0.
R/W
b2
S
Sign Flag
0: Result is a positive value or 0.
1: Result is a negative value.
R/W
b3
O
Overflow Flag
0: No overflow has occurred.
1: An overflow has occurred.
R/W
b15 to b4
Reserved
The value read is always 0. When writing,
write 0 to these bits.
R/W
b16
I
*
1
Interrupt Enable
0: Interrupt disabled.
1: Interrupt enabled.
R/W
b17
U
*
1
Stack Pointer Select
0: Interrupt stack pointer (ISP) is selected.
1: User stack pointer (USP) is selected.
R/W
b19, b18
Reserved
The value read is always 0. When writing,
write 0 to these bits.
R/W
b20
PM
*
1
*
2
*
3
Processor Mode Select
0: Supervisor mode is selected.
1: User mode is selected.
R/W
b23 to b21
Reserved
The value read is always 0. When writing,
write 0 to these bits.
R/W
b26 to b24
IPL[2:0]
*
1
*
4
Processor Interrupt Priority Level
b26
b24
0 0 0: Priority level 0 (lowest)
0 0 1: Priority level 1
0 1 0: Priority level 2
0 1 1: Priority level 3
1 0 0: Priority level 4
1 0 1: Priority level 5
1 1 0: Priority level 6
1 1 1: Priority level 7 (highest)
R/W
b31 to b27
Reserved
The value read is always 0. When writing,
write 0 to these bits.
R/W
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...