参数资料
型号: M38002E4FP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
封装: 14 X 14 MM, PLASTIC, QFP-64
文件页数: 92/173页
文件大小: 4203K
代理商: M38002E4FP
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描述
M38174E8FP 8-BIT, OTPROM, 6.3 MHz, MICROCONTROLLER, PQFP80
M38254M6DXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP100
MAF8441P 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP28
M38064E8-XXXFP 8-BIT, OTPROM, MICROCONTROLLER, PQFP80
MAR2901CB 4-BIT, BIT-SLICE MICROPROCESSOR, CDIP40
相关代理商/技术参数
参数描述
M38002E4FS 制造商:Mitsubishi Electric 功能描述:8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQCC64
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