Figure 4-5. Usage of Stack in Interrupt Handling
SP(R7)
SP-4
SP-3
SP-2
SP-1
SP(R7)
Stack area
SP+1
SP+2
SP+3
SP+4
Even address
CCR
CCR
*
PC (upper byte)
PC (lower byte)
Before interrupt
is accepted
After interrupt
is accepted
Pushed onto stack
Program counter
Condition code register
Stack pointer
PC:
CCR:
SP:
1.
2.
The PC contains the address of the first instruction
executed after return.
Registers must be saved and restored by word
access at an even address.
Notes:
*
Ignored on return.
70
Summary of Contents for H8/326 Series
Page 67: ...58 ...
Page 121: ...112 ...
Page 274: ... 3 Clock Settling Timing Ø VCC RES STBY tOSC1 tOSC1 Figure 14 8 Clock Setting Timing 265 ...
Page 279: ...270 ...