參數(shù)資料
型號: M38004E8SP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
封裝: 0.750 INCH, 1.78 MM PITCH, PLASTIC, SDIP-64
文件頁數(shù): 94/174頁
文件大小: 1752K
代理商: M38004E8SP
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
相關PDF資料
PDF描述
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
M38027M8-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
M38027E8DFP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
相關代理商/技術參數(shù)
參數(shù)描述
M38004E8SS 制造商:Renesas Electronics Corporation 功能描述:EPROM MCU/8BIT CMOS EMULATION CHIP - Bulk
M38004E8-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38004E8-XXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38004E8-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38004E8-XXXSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER