www.DataSheet4U.com
CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION
458
(6) Program status word (PSW)
The program status word is a register to hold the instruction execution result and the current status for interrupt
request. The IE flag to set maskable interrupt enable/disable and the ISP flag to control multiple interrupt servicing
are mapped.
Besides 8-bit units 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, and when the BRK
instruction is executed, the contents of PSW is automatically saved into a stack and the IE flag is reset to (0).
If a maskable interrupt request is acknowledged, the contents of the priority specify flag of the acknowledged
interrupt are transferred to the ISP flag. The contents of acknowledged interrupt is also saved into the stack with
the PUSH PSW instruction. It is reset from the stack with the RETI, RETB and POP PSW instructions.
RESET input sets PSW to 02H.
Figure 18-8. Program Status Word Configuration
Symbol
7
6
5
4
3
2
1
0
When Reset
PSW
IE
Z
RBS1
AC
RBS0
0
ISP
CY
02H
Use when normal instruction is executed
ISP
Priority of Interrupt Currently Being Serviced
0
High-priority interrupt servicing (low-priority
interrupt disable)
1
Interrupt request not acknowledged or low
priority servicing (all maskable interrupts
enable)
IE
Interrupt Request Acknowledge Enable/Disable
0
Disable
1
Enable
Summary of Contents for 78014Y Series
Page 2: ...www DataSheet4U com 2 MEMO...
Page 8: ...www DataSheet4U com 8 MEMO...
Page 22: ...www DataSheet4U com 22 MEMO...
Page 30: ...www DataSheet4U com 30 MEMO...
Page 34: ...www DataSheet4U com 34 MEMO...
Page 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Page 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Page 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Page 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Page 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Page 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Page 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Page 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Page 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Page 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Page 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Page 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Page 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...