|
3803_15 Datasheet, PDF (14/138 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER | |||
|
◁ |
3803/3804 Group
On-going Routine
Push return address
on stack
Interrupt request
(Note)
M (S) (PCH)
Execute JSR
(S) (S) â 1
M (S) (PCL)
(S) (S)â 1
Subroutine
POP return
address from stack
Execute RTS
(S) (S) + 1
(PCL) M (S)
(S) (S) + 1
(PCH) M (S)
M (S) (PCH)
(S) (S) â 1
M (S) (PCL)
Push return address
on stack
(S) (S) â 1
M (S) (PS)
Push contents of processor
status register on stack
(S) (S) â 1
Interrupt
Service Routine
Execute RTI
I Flag is set from â0â to â1â
Fetch the jump vector
(S) (S) + 1
(PS) M (S)
POP contents of
processor status
register from stack
(S) (S) + 1
(PCL) M (S)
(S) (S) + 1
POP return
address
from stack
(PCH) M (S)
Note: Condition for acceptance of an interrupt Interrupt enable flag is â1â
Interrupt disable flag is â0â
Fig. 10 Register push and pop at interrupt generation and subroutine call
Table 4 Push and pop instructions of accumulator or processor status register
Push instruction to stack
Accumulator
Processor status register
PHA
PHP
Pop instruction from stack
PLA
PLP
Rev.4.01 Nov 14, 2003 page 12 of 136
|
▷ |