English
Language : 

M38503M4H Datasheet, PDF (8/51 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3850 Group (Spec. H)
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
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. 6 Register push and pop at interrupt generation and subroutine call
Table 5 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
8