-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.lst
333 lines (270 loc) · 8.8 KB
/
startup.lst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
ARM Macro Assembler Page 1
1 00000000 00000700
Stack_Size
EQU 0x00000700 ;1024 + 512 + 256 B
ytes
2 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
3 00000000 Stack_Mem
SPACE Stack_Size
4 00000700 __initial_sp
5 00000700
6 00000700
7 00000700 00000000
Heap_Size
EQU 0x0000000 ;0 Bytes
8 00000700 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
9 00000000 __heap_base
10 00000000 Heap_Mem
SPACE Heap_Size
11 00000000 __heap_limit
12 00000000
13 00000000
14 00000000 PRESERVE8
15 00000000 THUMB
16 00000000
17 00000000
18 00000000 ; Vector Table Mapped to Address 0 at Reset
19 00000000
20 00000000 AREA RESET, DATA, READONLY
21 00000000 EXPORT __Vectors
22 00000000
23 00000000 __Vectors
24 00000000 00000000 DCD __initial_sp
25 00000004 00000000 DCD Reset_Handler
26 00000008 00000000 DCD NMI_Handler
27 0000000C 00000000 DCD HardFault_Handler
28 00000010 00000000 DCD 0
29 00000014 00000000 DCD 0
30 00000018 00000000 DCD 0
31 0000001C 00000000 DCD 0
32 00000020 00000000 DCD 0
33 00000024 00000000 DCD 0
34 00000028 00000000 DCD 0
35 0000002C 00000000 DCD SVC_Handler
36 00000030 00000000 DCD 0
37 00000034 00000000 DCD 0
38 00000038 00000000 DCD PendSV_Handler
39 0000003C 00000000 DCD SysTick_Handler
40 00000040
41 00000040 AREA |.text|, CODE, READONLY
42 00000000
43 00000000 Reset_Handler
PROC
44 00000000 ;EXPORT Reset_Handler [WEAK]
45 00000000 IMPORT __main
46 00000000
47 00000000 4803 LDR R0, =__main
48 00000002 4700 BX R0
49 00000004 ENDP
ARM Macro Assembler Page 2
50 00000004
51 00000004
52 00000004 NMI_Handler
PROC
53 00000004 EXPORT NMI_Handler [WEAK
]
54 00000004 E7FE B .
55 00000006 ENDP
57 00000006 HardFault_Handler
PROC
58 00000006 EXPORT HardFault_Handler [WEAK
]
59 00000006
60 00000006 E7FE B .
61 00000008 ENDP
63 00000008 SVC_Handler
PROC
64 00000008 EXPORT SVC_Handler [WEAK
]
65 00000008 E7FE B .
66 0000000A ENDP
67 0000000A PendSV_Handler
PROC
68 0000000A EXPORT PendSV_Handler [WEAK
]
69 0000000A E7FE B .
70 0000000C ENDP
71 0000000C SysTick_Handler
PROC
72 0000000C EXPORT SysTick_Handler [WEAK
]
73 0000000C E7FE B .
74 0000000E ENDP
75 0000000E
76 0000000E
77 0000000E 00 00 ALIGN
78 00000010
79 00000010
80 00000010 ; User Initial Stack & Heap
81 00000010
82 00000010 IF :DEF:__MICROLIB
83 00000010
84 00000010 EXPORT __initial_sp
85 00000010 EXPORT __heap_base
86 00000010 EXPORT __heap_limit
87 00000010
88 00000010 ELSE
102 ENDIF
103 00000010
104 00000010
105 00000010 END
00000000
Command Line: --debug --xref --cpu=Cortex-M0 --apcs=interwork --depend=startup.
d -ostartup.o -IC:\arm\ARM\INC -IC:\arm\ARM\INC\ARM --predefine="__EVAL SETA 1"
--predefine="__MICROLIB SETA 1" --list=.\startup.lst Core\startup.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
STACK 00000000
Symbol: STACK
Definitions
At line 2 in file Core\startup.s
Uses
None
Comment: STACK unused
Stack_Mem 00000000
Symbol: Stack_Mem
Definitions
At line 3 in file Core\startup.s
Uses
None
Comment: Stack_Mem unused
__initial_sp 00000700
Symbol: __initial_sp
Definitions
At line 4 in file Core\startup.s
Uses
At line 24 in file Core\startup.s
At line 84 in file Core\startup.s
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
HEAP 00000000
Symbol: HEAP
Definitions
At line 8 in file Core\startup.s
Uses
None
Comment: HEAP unused
Heap_Mem 00000000
Symbol: Heap_Mem
Definitions
At line 10 in file Core\startup.s
Uses
None
Comment: Heap_Mem unused
__heap_base 00000000
Symbol: __heap_base
Definitions
At line 9 in file Core\startup.s
Uses
At line 85 in file Core\startup.s
Comment: __heap_base used once
__heap_limit 00000000
Symbol: __heap_limit
Definitions
At line 11 in file Core\startup.s
Uses
At line 86 in file Core\startup.s
Comment: __heap_limit used once
4 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
RESET 00000000
Symbol: RESET
Definitions
At line 20 in file Core\startup.s
Uses
None
Comment: RESET unused
__Vectors 00000000
Symbol: __Vectors
Definitions
At line 23 in file Core\startup.s
Uses
At line 21 in file Core\startup.s
Comment: __Vectors used once
2 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
.text 00000000
Symbol: .text
Definitions
At line 41 in file Core\startup.s
Uses
None
Comment: .text unused
HardFault_Handler 00000006
Symbol: HardFault_Handler
Definitions
At line 57 in file Core\startup.s
Uses
At line 27 in file Core\startup.s
At line 58 in file Core\startup.s
NMI_Handler 00000004
Symbol: NMI_Handler
Definitions
At line 52 in file Core\startup.s
Uses
At line 26 in file Core\startup.s
At line 53 in file Core\startup.s
PendSV_Handler 0000000A
Symbol: PendSV_Handler
Definitions
At line 67 in file Core\startup.s
Uses
At line 38 in file Core\startup.s
At line 68 in file Core\startup.s
Reset_Handler 00000000
Symbol: Reset_Handler
Definitions
At line 43 in file Core\startup.s
Uses
At line 25 in file Core\startup.s
Comment: Reset_Handler used once
SVC_Handler 00000008
Symbol: SVC_Handler
Definitions
At line 63 in file Core\startup.s
Uses
At line 35 in file Core\startup.s
At line 64 in file Core\startup.s
SysTick_Handler 0000000C
Symbol: SysTick_Handler
Definitions
At line 71 in file Core\startup.s
Uses
At line 39 in file Core\startup.s
ARM Macro Assembler Page 2 Alphabetic symbol ordering
Relocatable symbols
At line 72 in file Core\startup.s
7 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Absolute symbols
Heap_Size 00000000
Symbol: Heap_Size
Definitions
At line 7 in file Core\startup.s
Uses
At line 10 in file Core\startup.s
Comment: Heap_Size used once
Stack_Size 00000700
Symbol: Stack_Size
Definitions
At line 1 in file Core\startup.s
Uses
At line 3 in file Core\startup.s
Comment: Stack_Size used once
2 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
External symbols
__main 00000000
Symbol: __main
Definitions
At line 45 in file Core\startup.s
Uses
At line 47 in file Core\startup.s
Comment: __main used once
1 symbol
347 symbols in table