📄 irq_sw.s
字号:
;------------------------------------------------------------------------------
;- ATMEL Microcontroller Software Support - ROUSSET -
;------------------------------------------------------------------------------
; The software is delivered "AS IS" without warranty or condition of any
; kind, either express, implied or statutory. This includes without
; limitation any warranty or condition with respect to merchantability or
; fitness for any particular purpose, or against the infringements of
; intellectual property rights of others.
;------------------------------------------------------------------------------
;- File source : irq_sw.s
;- Object : Assembler software Interrupt Handler.
;-
;- 1.0 14/Feb/03 JPP : Creation
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;- Area Definition
;------------------------------------------------------------------------------
AREA itHandler, CODE, READONLY
INCLUDE include/AT91R40008.inc
INCLUDE irq_arm.mac
;------------------------------------------------------------------------------
;- Function : sw_asm_irq_handler
;- Treatments : software Controller Interrupt Handler.
;- Called Functions : aic_software_interrupt
;- Called Macros : IRQ_ENTRY, IRQ_EXIT
;------------------------------------------------------------------------------
EXPORT sw_asm_irq_handler
IMPORT aic_software_interrupt
sw_asm_irq_handler
;- Manage Exception Entry
IRQ_ENTRY
;- Call the PIO Interrupt C handler
ldr r0, =aic_software_interrupt
mov r14, pc
bx r0
;- Irq exit
;- Manage Exception Exit
IRQ_EXIT
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -