📄 irq.lst
字号:
ARM Macro Assembler Page 1
1 00000000 ;/****************************************Copyright (c)*
*************************************************
2 00000000 ;** Guangzou ZLG-MCU Devel
opment Co.,LTD.
3 00000000 ;** graduate school
4 00000000 ;** http://www.zlgmcu.co
m
5 00000000 ;**
6 00000000 ;**--------------File Info------------------------------
-------------------------------------------------
7 00000000 ;** File Name: IRQ.s
8 00000000 ;** Last modified Date: 2004-06-14
9 00000000 ;** Last Version: 1.1
10 00000000 ;** Descriptions: The irq handle that what allow the int
errupt nesting.
11 00000000 ;**
12 00000000 ;**-----------------------------------------------------
-------------------------------------------------
13 00000000 ;** Created By: Chenmingji
14 00000000 ;** Created date: 2004-09-17
15 00000000 ;** Version: 1.0
16 00000000 ;** Descriptions: First version
17 00000000 ;**
18 00000000 ;**-----------------------------------------------------
-------------------------------------------------
19 00000000 ;** Modified by:
20 00000000 ;** Modified date:
21 00000000 ;** Version:
22 00000000 ;** Descriptions:
23 00000000 ;**
24 00000000 ;*******************************************************
*************************************************/
25 00000000
26 00000000
27 00000000 00000080
NoInt EQU 0x80
28 00000000
29 00000000 00000010
USR32Mode
EQU 0x10
30 00000000 00000013
SVC32Mode
EQU 0x13
31 00000000 0000001F
SYS32Mode
EQU 0x1f
32 00000000 00000012
IRQ32Mode
EQU 0x12
33 00000000 00000011
FIQ32Mode
EQU 0x11
34 00000000
35 00000000 CODE32
36 00000000
37 00000000 AREA IRQ,CODE,READONLY
38 00000000
39 00000000 MACRO
ARM Macro Assembler Page 2
40 00000000 $IRQ_Label
HANDLER $IRQ_Exception_Function
41 00000000
42 00000000 EXPORT $IRQ_Label ; The label for exp
orts 输出的标号
43 00000000 IMPORT $IRQ_Exception_Function ; The i
mported labels 引用
的外部标号
44 00000000
45 00000000 $IRQ_Label
46 00000000 SUB LR, LR, #4 ; Calculate the ret
urning address 计算
返回地址
47 00000000 STMFD SP!, {R0-R3, R12, LR} ; Protect
s the task environm
ents 保存任务环境
48 00000000 MRS R3, SPSR ; Protects the stat
us variable 保存状
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -