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
Содержание mPD789026 Subseries
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO...