參數(shù)資料
型號(hào): M34518M4-XXXFP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
封裝: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件頁數(shù): 140/157頁
文件大?。?/td> 1783K
代理商: M34518M4-XXXFP
ML610Q411/ML610Q412/ML610Q415 User’s Manual
Chapter 5
Interrupts (INTs)
5 – 22
State B: Non-maskable interrupt is being processed
B-1: When no instruction is executed in an interrupt routine
Processing immediately after the start of interrupt routine execution
Specify the RTI instruction to return the contents of the ELR register to the PC and those of the EPSW register
to PSW.
B-2: When one or more instructions are executed in an interrupt routine
B-2-1: When a subroutine is not called by the program in executing an interrupt routine
Processing immediately after the start of interrupt routine execution
Specify “PUSH
ELR, EPSW” to save the interrupt return address and the PSW status in the stack.
Processing at the end of interrupt routine execution
Specify “POP
PC, PSW” instead of the RTI instruction to return the contents of the stack to PC and PSW.
B-2-2: When a subroutine is called by the program in executing an interrupt routine
Processing immediately after the start of interrupt routine execution
Specify “PUSH
LR, ELR, EPSW” to save the interrupt return address, the subroutine return address, and the
EPSW status in the stack.
Processing at the end of interrupt routine execution
Specify “POP PC, PSW, LR” instead of the RTI instruction to return the saved data of the interrupt return
address to PC, the saved data of EPSW to PSW, and the saved data of LR to LR.
Example of description: B-1
Example of description: B-2-1
Intrpt_B-1:
; B-1 state
Intrpt_B-2-1:
; Start
RTI
; Return PC from ELR
; Return PSW form EPSW
PUSH ELRCEPSW
; Save ELR, EPSW at the
beginning
; End
:
POP PCCPSW
; Return PC from the stack
; Return PSW from the stack
; End
Example of description: B-2-2
Intrpt_B-2-2:
; Start
PUSH ELR,EPSW,LR
; Save ELR, EPSW, LR at the
beginning
:
Sub_1:
G
:
BL Sub_1
; Call subroutine Sub_1
:
RT
; Return PC from LR
POP PCCPSWCLR
; Return PC from the stack
; End of subroutine
; Return PSW from the stack
; Return LR from the stack
; End
相關(guān)PDF資料
PDF描述
M34518M2-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
M34518M4-XXXSP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP32
M34519E8FP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO42
M34519M8-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO42
M34520M8A-XXXFP 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34518M4-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34518M6-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34518M8-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34519E8FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-BIT CISC SINGLE-CHIP MICROCOMPUTER 720 FAMILY / 4500 SERIES
M34519M6-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-BIT CISC SINGLE-CHIP MICROCOMPUTER 720 FAMILY / 4500 SERIES