|
7220 Datasheet, PDF (32/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
FUNCTIONAL DESCRIPTION
2.1 Central processing unit
On-going routine
â¢â¢â¢â¢â¢â¢â¢â¢
Interrupt request
M(S) (PCH)
(S) (S)â1
M(S) (PCL)
(S) (S)â1
Subroutine
â¢
â¢
â¢
Execute RTS
(S) (S)+1
(PCL) M(S)
(S) (S)+1
(PCH) M(S)
Execute JSR
â¢â¢â¢â¢â¢â¢â¢â¢
M(S)
(S)
M(S)
(S)
M(S)
(S)
(PCH)
(S)â1
(PCL)
(S)â1
(PS)
(S)â1
Interrupt routine
â¢
â¢
â¢
Execute RTI
(S)
(PS)
(S)
(PCL)
(S)
(PCH)
(S)+1
M(S)
(S)+1
M(S)
(S)+1
M(S)
(PCH) : Contents of high-order 8 bits of program counter
(PCL) : Contents of low-order 8 bits of program counter
(PS) : Contents of processor status register
(S) : Contents of stack pointer
M : Memory
RTI : Instruction for returning from interrupt routine to main routine
RTS : Instruction for returning from subroutine to main routine
Fig. 2.1.3 Sequence of push onto/pop from a stack during interrupts and subroutine calls
7220 Group Userâs Manual
2-5
|
▷ |