Rev Author Line No. Line
2971 jichapav 1  
2  
3  
4 ARM Macro Assembler Page 1
5  
6  
2975 jichapav 7 1 00000000 #line 1 "..\\..\\..\\os\\ports\\RVCT\\A
8 RMCMx\\cstartup.s"
2971 jichapav 9 1 00000000
10 2 00000000
11 3 00000000
12 4 00000000
13 5 00000000
14 6 00000000
15 7 00000000
16 8 00000000
17 9 00000000
18 10 00000000
19 11 00000000
20 12 00000000
21 13 00000000
22 14 00000000
23 15 00000000
24 16 00000000
25 17 00000000
26 18 00000000
27 19 00000000
28 20 00000000
29 21 00000000 ;
30 22 00000000
31 23 00000000 ;
32 24 00000000 ;
33 25 00000000 ;
34 26 00000000 00000400
35 main_stack_size
36 EQU 0x00000400
37 27 00000000
38 28 00000000 ;
39 29 00000000 ;
40 30 00000000 ;
41 31 00000000 00000400
42 proc_stack_size
43 EQU 0x00000400
44 32 00000000
45 33 00000000 ;
46 34 00000000 ;
47 35 00000000 ;
48 36 00000000 00000400
49 heap_size
50 EQU 0x00000400
51 37 00000000
52 38 00000000 AREA MSTACK, NOINIT, READWRITE, ALIG
53 N=3
54 39 00000000 main_stack_mem
55 SPACE main_stack_size
56 40 00000400 EXPORT __initial_msp
57 41 00000400 __initial_msp
58 42 00000400
59 43 00000400 AREA CSTACK, NOINIT, READWRITE, ALIG
60 N=3
61 44 00000000 __main_thread_stack_base__
62 45 00000000 EXPORT __main_thread_stack_base__
63 46 00000000 proc_stack_mem
64 SPACE proc_stack_size
65 47 00000400 EXPORT __initial_sp
66  
67  
68  
69 ARM Macro Assembler Page 2
70  
71  
72 48 00000400 __initial_sp
73 49 00000400
74 50 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
75 3
76 51 00000000 __heap_base
77 52 00000000 Heap_Mem
78 SPACE heap_size
79 53 00000400 __heap_limit
80 54 00000400
81 55 00000400 00000000
82 CONTROL_MODE_PRIVILEGED
83 EQU 0
84 56 00000400 00000001
85 CONTROL_MODE_UNPRIVILEGED
86 EQU 1
87 57 00000400 00000000
88 CONTROL_USE_MSP
89 EQU 0
90 58 00000400 00000002
91 CONTROL_USE_PSP
92 EQU 2
93 59 00000400
94 60 00000400 PRESERVE8
95 61 00000400 THUMB
96 62 00000400
97 63 00000400 AREA |.text|, CODE, READONLY
98 64 00000000
99 65 00000000
100 66 00000000
101 67 00000000
102 68 00000000 IMPORT __main
103 69 00000000 EXPORT Reset_Handler
104 70 00000000 Reset_Handler
105 PROC
106 71 00000000 B672 cpsid i
107 72 00000002 4809 ldr r0, =__initial_sp
108 73 00000004 F380 8809 msr PSP, r0
109 74 00000008 2002 movs r0, #CONTROL_MODE_PRIVILEGED :O
110 R: CONTROL_USE_PSP
111 75 0000000A F380 8814 msr CONTROL, r0
112 76 0000000E F3BF 8F6F isb
113 77 00000012 F7FF FFFE bl __early_init
114 78 00000016
115 79 00000016 IF {CPU} = "Cortex-M4.fp"
116 84 ENDIF
117 85 00000016
118 86 00000016 4805 ldr r0, =__main
119 87 00000018 4700 bx r0
120 88 0000001A ENDP
121 89 0000001A
122 90 0000001A __early_init
123 PROC
124 91 0000001A EXPORT __early_init [WEAK]
125 92 0000001A 4770 bx lr
126 93 0000001C ENDP
127 94 0000001C
128 95 0000001C ALIGN
129 96 0000001C
130 97 0000001C
131  
132  
133  
134 ARM Macro Assembler Page 3
135  
136  
137 98 0000001C
138 99 0000001C
139 100 0000001C IF :DEF:__MICROLIB
140 107 0000001C
141 108 0000001C IMPORT __use_two_region_memory
142 109 0000001C EXPORT __user_initial_stackheap
143 110 0000001C __user_initial_stackheap
144 111 0000001C 4804 ldr r0, =Heap_Mem
145 112 0000001E 4905 ldr r1, =(proc_stack_mem + proc_sta
146 ck_size)
147 113 00000020 4A05 ldr r2, =(Heap_Mem + heap_size)
148 114 00000022 4B06 ldr r3, =proc_stack_mem
149 115 00000024 4770 bx lr
150 116 00000026
151 117 00000026 00 00 ALIGN
152 118 00000028
153 119 00000028 ENDIF
154 120 00000028
155 121 00000028 END
156 00000000
157 00000000
158 00000000
159 00000400
160 00000400
161 00000000
162 Command Line: --debug --xref --cpreproc --cpu=Cortex-M3 --apcs=interwork --depe
2975 jichapav 163 nd=.\obj\cstartup.d -o.\obj\cstartup.o -I..\ -I..\..\..\boards\ST_STM32L_DISCOV
164 ERY -I..\..\..\os\ports\RVCT\ARMCMx\STM32L1xx -I"C:\Program Files\Keil\ARM\RV31
165 \INC" -I"C:\Program Files\Keil\ARM\CMSIS\Include" -I"C:\Program Files\Keil\ARM\
166 Inc\ST\STM32L1xx" --predefine="__EVAL SETA 1" --list=.\lst\cstartup.lst ..\..\.
167 .\os\ports\RVCT\ARMCMx\cstartup.s
2971 jichapav 168  
169  
170  
171 ARM Macro Assembler Page 1 Alphabetic symbol ordering
172 Relocatable symbols
173  
174 MSTACK 00000000
175  
176 Symbol: MSTACK
177 Definitions
2975 jichapav 178 At line 38 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 179 Uses
180 None
181 Comment: MSTACK unused
182 __initial_msp 00000400
183  
184 Symbol: __initial_msp
185 Definitions
2975 jichapav 186 At line 41 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 187 Uses
2975 jichapav 188 At line 40 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 189 Comment: __initial_msp used once
190 main_stack_mem 00000000
191  
192 Symbol: main_stack_mem
193 Definitions
2975 jichapav 194 At line 39 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 195 Uses
196 None
197 Comment: main_stack_mem unused
198 3 symbols
199  
200  
201  
202 ARM Macro Assembler Page 1 Alphabetic symbol ordering
203 Relocatable symbols
204  
205 CSTACK 00000000
206  
207 Symbol: CSTACK
208 Definitions
2975 jichapav 209 At line 43 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 210 Uses
211 None
212 Comment: CSTACK unused
213 __initial_sp 00000400
214  
215 Symbol: __initial_sp
216 Definitions
2975 jichapav 217 At line 48 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 218 Uses
2975 jichapav 219 At line 47 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
220 At line 72 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 221  
222 __main_thread_stack_base__ 00000000
223  
224 Symbol: __main_thread_stack_base__
225 Definitions
2975 jichapav 226 At line 44 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 227 Uses
2975 jichapav 228 At line 45 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 229 Comment: __main_thread_stack_base__ used once
230 proc_stack_mem 00000000
231  
232 Symbol: proc_stack_mem
233 Definitions
2975 jichapav 234 At line 46 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 235 Uses
2975 jichapav 236 At line 112 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
237 At line 114 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 238  
239 4 symbols
240  
241  
242  
243 ARM Macro Assembler Page 1 Alphabetic symbol ordering
244 Relocatable symbols
245  
246 HEAP 00000000
247  
248 Symbol: HEAP
249 Definitions
2975 jichapav 250 At line 50 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 251 Uses
252 None
253 Comment: HEAP unused
254 Heap_Mem 00000000
255  
256 Symbol: Heap_Mem
257 Definitions
2975 jichapav 258 At line 52 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 259 Uses
2975 jichapav 260 At line 111 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
261 At line 113 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 262  
263 __heap_base 00000000
264  
265 Symbol: __heap_base
266 Definitions
2975 jichapav 267 At line 51 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 268 Uses
269 None
270 Comment: __heap_base unused
271 __heap_limit 00000400
272  
273 Symbol: __heap_limit
274 Definitions
2975 jichapav 275 At line 53 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 276 Uses
277 None
278 Comment: __heap_limit unused
279 4 symbols
280  
281  
282  
283 ARM Macro Assembler Page 1 Alphabetic symbol ordering
284 Relocatable symbols
285  
286 .text 00000000
287  
288 Symbol: .text
289 Definitions
2975 jichapav 290 At line 63 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 291 Uses
292 None
293 Comment: .text unused
294 Reset_Handler 00000000
295  
296 Symbol: Reset_Handler
297 Definitions
2975 jichapav 298 At line 70 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 299 Uses
2975 jichapav 300 At line 69 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 301 Comment: Reset_Handler used once
302 __early_init 0000001A
303  
304 Symbol: __early_init
305 Definitions
2975 jichapav 306 At line 90 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 307 Uses
2975 jichapav 308 At line 77 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
309 At line 91 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 310  
311 __user_initial_stackheap 0000001C
312  
313 Symbol: __user_initial_stackheap
314 Definitions
2975 jichapav 315 At line 110 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 316 Uses
2975 jichapav 317 At line 109 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 318 Comment: __user_initial_stackheap used once
319 4 symbols
320  
321  
322  
323 ARM Macro Assembler Page 1 Alphabetic symbol ordering
324 Absolute symbols
325  
326 CONTROL_MODE_PRIVILEGED 00000000
327  
328 Symbol: CONTROL_MODE_PRIVILEGED
329 Definitions
2975 jichapav 330 At line 55 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 331 Uses
2975 jichapav 332 At line 74 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 333 Comment: CONTROL_MODE_PRIVILEGED used once
334 CONTROL_MODE_UNPRIVILEGED 00000001
335  
336 Symbol: CONTROL_MODE_UNPRIVILEGED
337 Definitions
2975 jichapav 338 At line 56 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 339 Uses
340 None
341 Comment: CONTROL_MODE_UNPRIVILEGED unused
342 CONTROL_USE_MSP 00000000
343  
344 Symbol: CONTROL_USE_MSP
345 Definitions
2975 jichapav 346 At line 57 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 347 Uses
348 None
349 Comment: CONTROL_USE_MSP unused
350 CONTROL_USE_PSP 00000002
351  
352 Symbol: CONTROL_USE_PSP
353 Definitions
2975 jichapav 354 At line 58 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 355 Uses
2975 jichapav 356 At line 74 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 357 Comment: CONTROL_USE_PSP used once
358 heap_size 00000400
359  
360 Symbol: heap_size
361 Definitions
2975 jichapav 362 At line 36 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 363 Uses
2975 jichapav 364 At line 52 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
365 At line 113 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 366  
367 main_stack_size 00000400
368  
369 Symbol: main_stack_size
370 Definitions
2975 jichapav 371 At line 26 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 372 Uses
2975 jichapav 373 At line 39 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 374 Comment: main_stack_size used once
375 proc_stack_size 00000400
376  
377 Symbol: proc_stack_size
378 Definitions
2975 jichapav 379 At line 31 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 380 Uses
2975 jichapav 381 At line 46 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
382 At line 112 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 383  
384 7 symbols
385  
386  
387  
388 ARM Macro Assembler Page 1 Alphabetic symbol ordering
389 External symbols
390  
391 __main 00000000
392  
393 Symbol: __main
394 Definitions
2975 jichapav 395 At line 68 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 396 Uses
2975 jichapav 397 At line 86 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 398 Comment: __main used once
399 __use_two_region_memory 00000000
400  
401 Symbol: __use_two_region_memory
402 Definitions
2975 jichapav 403 At line 108 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
2971 jichapav 404 Uses
405 None
406 Comment: __use_two_region_memory unused
407 2 symbols
408 359 symbols in table