參數(shù)資料
型號: M38002E4FS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQCC64
封裝: QFN-64
文件頁數(shù): 94/174頁
文件大?。?/td> 1752K
代理商: M38002E4FS
HARDWARE
1-11
3800 GROUP USER’S MANUAL
Fig. 8 Register push and pop at interrupt generation and subroutine call
Table 4. Push and pop instructions of accumulator or processor status register
Accumulator
Processor status register
Push instruction to stack
PHA
PHP
Pop instruction from stack
PLA
PLP
FUNCTIONAL DESCRIPTION
On-going Routine
Execute JSR
M(S)
← (PCH)
(S)
← (S – 1)
M(S)
← (PCL)
(S)
← (S – 1)
Subroutine
(S)
← (S + 1)
(PCL)
← M(S)
(S)
← (S + 1)
(PCH)
← M(S)
Execute RTS
(S)
← (S – 1)
M(S)
← (PS)
(S)
← (S – 1)
Interrupt
Service Routine
(S)
← (S + 1)
(PS)
← M(S)
(S)
← (S + 1)
(PCL)
← M(S)
Execute RTI
(S)
← (S + 1)
(PCH)
← M(S)
M(S)
← (PCH)
(S)
← (S – 1)
M(S)
← (PCL)
Interrupt Request
(Note 1)
Store Return Address
on Stack (Note 2)
Restore Return
Address
Restore Contents of
Processor Status
Register
I Flag “0” to “1”
Fetch the Jump
Vector
Store Contents of
Processor Status
Register on Stack
Store Return Address
on Stack (Note 2)
Notes 1 : The condition to enable the interrup t
→ Interrupt enable bit is “1”
Interrupt disable flag is “0”
2 : When an interrupt occurs, the address of the next instruction to be executed is stored in
the stack area. When a subroutine is called, the address one before the next instruction
to be executed is stored in the stack area.
Restore Return
Address
相關(guān)PDF資料
PDF描述
M38002M4-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP64
M38004E8SP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
M38022M4DXXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP64
M38027E8-XXXFP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
M38027E8DXXXSP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38002E4SP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4SS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER