ML63611 User’s Manual
Chapter 4 Interrupt (INT)
4 – 11
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
4.3
Interrupt Sequence
4.3.1 Interrupt Processing
While MIE is “1”, operation transfers to interrupt processing when individual interrupt factors are generated.
The watchdog timer interrupt is non-maskable and regardless of the MIE flag status, operation will shift to
interrupt processing when the watchdog timer interrupt factor is generated.
The following processes are performed when an interrupt is generated.
(1) MIE and the corresponding interrupt request flag are cleared to “0”.
(2) The program counter (PC) is saved on the call stack.
(3) The call stack pointer (SP) is incremented by 1. (SP
←
SP+1)
(4) The starting address of the interrupt routine is loaded into the program counter (PC).
Interrupt processing is performed in 0 machine cycles.
Figure 4-2 shows the stack contents after an interrupt is generated.
PC11–PC8
PC7–PC4
PC3–PC0
0H
1H
2H
3H
4H
0FH
SP position before interrupt
SP position after interrupt
PC13–
PC12
13 12 11 10 9 8 7 6 5 4 3 2 1 0
Figure 4-2 Call Stack Contents after Interrupt Generation
Summary of Contents for ML63611
Page 9: ...Chapter 1 Overview...
Page 33: ...Chapter 2 CPU and Memory Spaces...
Page 42: ...Chapter 3 CPU Control Functions...
Page 49: ...Chapter 4 Interrupt INT...
Page 62: ...Chapter 5 Clock Generator Circuit OSC...
Page 71: ...Chapter 6 Time Base Counter TBC...
Page 75: ...Chapter 7 Timers TIMER...
Page 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Page 103: ...Chapter 9 Watchdog Timer WDT...
Page 108: ...Chapter 10 Ports INPUT I O PORT...
Page 140: ...Chapter 11 Melody Driver MELODY...
Page 152: ...Chapter 12 Serial Port SIO...
Page 179: ...Chapter 13 LCD Driver LCD...
Page 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Page 204: ...Chapter 15 Power Supply Circuit POWER...
Page 215: ...Chapter 16 A D Converter ADC...
Page 238: ...Appendixes...