📄 keilulink
字号:
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: Startup.s
8 00000000 ;** Last modified Date: 2004-09-17
9 00000000 ;** Last Version: 1.0
10 00000000 ;** Descriptions: The start up codes for LPC2200, incl
uding the initializing codes for the entry point of exce
ptions and the stacks of user tasks.
11 00000000 ;** Every project should have a independent copy of t
his file for related modifications
12 00000000 ;**-----------------------------------------------------
-------------------------------------------------
13 00000000 ;** Created by: Chenmingji
14 00000000 ;** Created date: 2004-02-02
15 00000000 ;** Version: 1.0
16 00000000 ;** Descriptions: The original version
17 00000000 ;**
18 00000000 ;**-----------------------------------------------------
-------------------------------------------------
19 00000000 ;** Modified by: Chenmingji
20 00000000 ;** Modified date: 2004-09-17
21 00000000 ;** Version: 1.01
22 00000000 ;** Descriptions: Modified the bus setting to adapt fo
r many common situations
23 00000000 ;**
24 00000000 ;**-----------------------------------------------------
-------------------------------------------------
25 00000000 ;** Modified by: Chenmingji
26 00000000 ;** Modified date: 2004-09-17
27 00000000 ;** Version: 1.02
28 00000000 ;** Descriptions: Added codes to support the encipheri
ng of the chip
29 00000000 ;**
30 00000000 ;**-----------------------------------------------------
-------------------------------------------------
31 00000000 ;** Modified by: Chenmingji
32 00000000 ;** Modified date: 2004-09-17
33 00000000 ;** Version: 1.04
34 00000000 ;** Descriptions: Renewed the template, added codes to
support more compilers
35 00000000 ;**
36 00000000 ;**-----------------------------------------------------
-------------------------------------------------
37 00000000 ;** Modified by:
38 00000000 ;** Modified date:
39 00000000 ;** Version:
40 00000000 ;** Descriptions:
41 00000000 ;**
42 00000000 ;*******************************************************
*************************************************/
ARM Macro Assembler Page 2
43 00000000
44 00000000 ;define the stack size
45 00000000 ;定义堆栈的大小
46 00000000 00000000
SVC_STACK_LEGTH
EQU 0
47 00000000 00000000
FIQ_STACK_LEGTH
EQU 0
48 00000000 00000100
IRQ_STACK_LEGTH
EQU 256
49 00000000 00000000
ABT_STACK_LEGTH
EQU 0
50 00000000 00000000
UND_STACK_LEGTH
EQU 0
51 00000000
52 00000000 00000080
NoInt EQU 0x80
53 00000000
54 00000000 00000010
USR32Mode
EQU 0x10
55 00000000 00000013
SVC32Mode
EQU 0x13
56 00000000 0000001F
SYS32Mode
EQU 0x1f
57 00000000 00000012
IRQ32Mode
EQU 0x12
58 00000000 00000011
FIQ32Mode
EQU 0x11
59 00000000
60 00000000 E002C014
PINSEL2 EQU 0xE002C014
61 00000000
62 00000000 FFE00000
BCFG0 EQU 0xFFE00000
63 00000000 FFE00004
BCFG1 EQU 0xFFE00004
64 00000000 FFE00008
BCFG2 EQU 0xFFE00008
65 00000000 FFE0000C
BCFG3 EQU 0xFFE0000C
66 00000000
67 00000000 IMPORT __use_no_semihosting_swi
68 00000000 IMPORT __use_two_region_memory
69 00000000
70 00000000 ;The imported labels
71 00000000 ;引入的外部标号在这声明
72 00000000 IMPORT FIQ_Exception ;Fast interrupt exceptions
handler 快速中断异常处理程
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -