CHAPTER 10 INTERRUPT FUNCTIONS
User's Manual U11919EJ3V0UM00
156
(4)
Program status word (PSW)
The program status word is a register used to hold the instruction execution result and the current status of
the interrupt requests. The IE flag to set maskable interrupt enable/disable is mapped.
Besides 8-bit unit read/write, this register can carry out operations with a bit manipulation instruction and
dedicated instructions (EI and DI). When a vectored interrupt request is acknowledged, PSW is
automatically saved into a stack, and the IE flag is reset to 0. It is restored from the stack with the RETI and
POP PSW instructions.
RESET input sets PSW to 02H.
Figure 10-5. Program Status Word Configuration
IE
Z
0
AC
0
0
1
CY
PSW
7
6
5
4
3
2
1
0
IE
0
1
02H
Symbol
After Reset
Used when normal instruction is executed
Interrupt Acknowledge Enable/Disable
Disable
Enable
Summary of Contents for mPD789026 Subseries
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...