-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStartup.lst
953 lines (822 loc) · 40.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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
ARM Macro Assembler Page 1
1 00000000 ; <<< Use Configuration Wizard in Context Menu >>>
2 00000000 ;*******************************************************
***********************
3 00000000 ;
4 00000000 ; Startup.s - Startup code for Stellaris.
5 00000000 ;
6 00000000 ; Copyright (c) 2011 Texas Instruments Incorporated. Al
l rights reserved.
7 00000000 ; Software License Agreement
8 00000000 ;
9 00000000 ; Texas Instruments (TI) is supplying this software for
use solely and
10 00000000 ; exclusively on TI's microcontroller products. The soft
ware is owned by
11 00000000 ; TI and/or its suppliers, and is protected under applic
able copyright
12 00000000 ; laws. You may not combine this software with "viral" o
pen-source
13 00000000 ; software in order to form a larger program.
14 00000000 ;
15 00000000 ; THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
16 00000000 ; NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY,
INCLUDING, BUT
17 00000000 ; NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR
18 00000000 ; A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL
NOT, UNDER ANY
19 00000000 ; CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR C
ONSEQUENTIAL
20 00000000 ; DAMAGES, FOR ANY REASON WHATSOEVER.
21 00000000 ;
22 00000000 ; This is part of revision 7860 of the Stellaris Periphe
ral Driver Library.
23 00000000 ;
24 00000000 ;*******************************************************
***********************
25 00000000
26 00000000 ;*******************************************************
***********************
27 00000000 ;
28 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
29 00000000 ;
30 00000000 ;*******************************************************
***********************
31 00000000 00002000
Stack EQU 0x00002000
32 00000000
33 00000000 ;*******************************************************
***********************
34 00000000 ;
35 00000000 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
36 00000000 ;
37 00000000 ;*******************************************************
***********************
38 00000000 00002000
Heap EQU 0x00002000
39 00000000
40 00000000 ;*******************************************************
ARM Macro Assembler Page 2
***********************
41 00000000 ;
42 00000000 ; Allocate space for the stack.
43 00000000 ;
44 00000000 ;*******************************************************
***********************
45 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
46 00000000 StackMem
47 00000000 SPACE Stack
48 00002000 __initial_sp
49 00002000
50 00002000 ;*******************************************************
***********************
51 00002000 ;
52 00002000 ; Allocate space for the heap.
53 00002000 ;
54 00002000 ;*******************************************************
***********************
55 00002000 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
56 00000000 __heap_base
57 00000000 HeapMem
58 00000000 SPACE Heap
59 00002000 __heap_limit
60 00002000
61 00002000 ;*******************************************************
***********************
62 00002000 ;
63 00002000 ; Indicate that the code in this file preserves 8-byte a
lignment of the stack.
64 00002000 ;
65 00002000 ;*******************************************************
***********************
66 00002000 PRESERVE8
67 00002000
68 00002000 ;*******************************************************
***********************
69 00002000 ;
70 00002000 ; Place code into the reset code section.
71 00002000 ;
72 00002000 ;*******************************************************
***********************
73 00002000 AREA RESET, CODE, READONLY
74 00000000 THUMB
75 00000000 EXTERN reg_int_handler
76 00000000 EXTERN UART5Intcsb
77 00000000
78 00000000 EXTERN GPIO_INT_E
79 00000000 EXTERN UART0IntHandler
80 00000000 EXTERN Timer0IntHandler
81 00000000 ;*******************************************************
***********************
82 00000000 ;
83 00000000 ; The vector table.
84 00000000 ;
85 00000000 ;*******************************************************
***********************
86 00000000 EXPORT __Vectors
ARM Macro Assembler Page 3
87 00000000 __Vectors
88 00000000 00002000 DCD StackMem + Stack ; Top of Stack
89 00000004 00000000 DCD Reset_Handler ; Reset Handler
90 00000008 00000000 DCD NmiSR ; NMI Handler
91 0000000C 00000000 DCD FaultISR ; Hard Fault Handle
r
92 00000010 00000000 DCD IntDefaultHandler
; MPU Fault Handler
93 00000014 00000000 DCD IntDefaultHandler
; Bus Fault Handler
94 00000018 00000000 DCD IntDefaultHandler ; Usage Fault
Handler
95 0000001C 00000000 DCD 0 ; Reserved
96 00000020 00000000 DCD 0 ; Reserved
97 00000024 00000000 DCD 0 ; Reserved
98 00000028 00000000 DCD 0 ; Reserved
99 0000002C 00000000 DCD IntDefaultHandler
; SVCall handler
100 00000030 00000000 DCD IntDefaultHandler ; Debug monit
or handler
101 00000034 00000000 DCD 0 ; Reserved
102 00000038 00000000 DCD IntDefaultHandler
; PendSV Handler
103 0000003C 00000000 DCD IntDefaultHandler
; SysTick Handler
104 00000040 00000000 DCD IntDefaultHandler ; GPIO Port A
105 00000044 00000000 DCD IntDefaultHandler ; GPIO Port B
106 00000048 00000000 DCD IntDefaultHandler ; GPIO Port C
107 0000004C 00000000 DCD IntDefaultHandler ; GPIO Port D
108 00000050 00000000 DCD GPIO_INT_E ; GPIO Port E
109 00000054 00000000 DCD UART0IntHandler
; UART0 Rx and Tx
110 00000058 00000000 DCD IntDefaultHandler
; UART1 Rx and Tx
111 0000005C 00000000 DCD IntDefaultHandler
; SSI0 Rx and Tx
112 00000060 00000000 DCD IntDefaultHandler ; I2C0 Master
and Slave
113 00000064 00000000 DCD IntDefaultHandler ; PWM Fault
114 00000068 00000000 DCD IntDefaultHandler
; PWM Generator 0
115 0000006C 00000000 DCD IntDefaultHandler
; PWM Generator 1
116 00000070 00000000 DCD IntDefaultHandler
; PWM Generator 2
117 00000074 00000000 DCD IntDefaultHandler ; Quadrature
Encoder 0
118 00000078 00000000 DCD IntDefaultHandler
; ADC Sequence 0
119 0000007C 00000000 DCD IntDefaultHandler
; ADC Sequence 1
120 00000080 00000000 DCD IntDefaultHandler
ARM Macro Assembler Page 4
; ADC Sequence 2
121 00000084 00000000 DCD IntDefaultHandler
; ADC Sequence 3
122 00000088 00000000 DCD IntDefaultHandler
; Watchdog timer
123 0000008C 00000000 DCD Timer0IntHandler ; Timer 0 subt
imer A
124 00000090 00000000 DCD IntDefaultHandler ; Timer 0 sub
timer B
125 00000094 00000000 DCD IntDefaultHandler ; Timer 1 sub
timer A
126 00000098 00000000 DCD IntDefaultHandler ; Timer 1 sub
timer B
127 0000009C 00000000 DCD IntDefaultHandler ; Timer 2 sub
timer A
128 000000A0 00000000 DCD IntDefaultHandler ; Timer 2 sub
timer B
129 000000A4 00000000 DCD IntDefaultHandler ; Analog Comp
arator 0
130 000000A8 00000000 DCD IntDefaultHandler ; Analog Comp
arator 1
131 000000AC 00000000 DCD IntDefaultHandler ; Analog Comp
arator 2
132 000000B0 00000000 DCD IntDefaultHandler ; System Cont
rol (PLL, OSC, BO)
133 000000B4 00000000 DCD IntDefaultHandler
; FLASH Control
134 000000B8 00000000 DCD reg_int_handler ; GPIO Port F
135 000000BC 00000000 DCD IntDefaultHandler ; GPIO Port G
136 000000C0 00000000 DCD IntDefaultHandler ; GPIO Port H
137 000000C4 00000000 DCD IntDefaultHandler
; UART2 Rx and Tx
138 000000C8 00000000 DCD IntDefaultHandler
; SSI1 Rx and Tx
139 000000CC 00000000 DCD IntDefaultHandler ; Timer 3 sub
timer A
140 000000D0 00000000 DCD IntDefaultHandler ; Timer 3 sub
timer B
141 000000D4 00000000 DCD IntDefaultHandler ; I2C1 Master
and Slave
142 000000D8 00000000 DCD IntDefaultHandler ; Quadrature
Encoder 1
143 000000DC 00000000 DCD IntDefaultHandler ; CAN0
144 000000E0 00000000 DCD IntDefaultHandler ; CAN1
145 000000E4 00000000 DCD IntDefaultHandler ; CAN2
146 000000E8 00000000 DCD IntDefaultHandler ; Ethernet
147 000000EC 00000000 DCD IntDefaultHandler ; Hibernate
148 000000F0 00000000 DCD IntDefaultHandler ; USB0
149 000000F4 00000000 DCD IntDefaultHandler
; PWM Generator 3
150 000000F8 00000000 DCD IntDefaultHandler ; uDMA Softwa
re Transfer
151 000000FC 00000000 DCD IntDefaultHandler ; uDMA Error
152 00000100 00000000 DCD IntDefaultHandler
; ADC1 Sequence 0
153 00000104 00000000 DCD IntDefaultHandler
; ADC1 Sequence 1
ARM Macro Assembler Page 5
154 00000108 00000000 DCD IntDefaultHandler
; ADC1 Sequence 2
155 0000010C 00000000 DCD IntDefaultHandler
; ADC1 Sequence 3
156 00000110 00000000 DCD IntDefaultHandler ; I2S0
157 00000114 00000000 DCD IntDefaultHandler ; External Bu
s Interface 0
158 00000118 00000000 DCD IntDefaultHandler ; GPIO Port J
159 0000011C 00000000 DCD IntDefaultHandler ; GPIO Port K
160 00000120 00000000 DCD IntDefaultHandler ; GPIO Port L
161 00000124 00000000 DCD IntDefaultHandler
; SSI2 Rx and Tx
162 00000128 00000000 DCD IntDefaultHandler
; SSI3 Rx and Tx
163 0000012C 00000000 DCD IntDefaultHandler
; UART3 Rx and Tx
164 00000130 00000000 DCD IntDefaultHandler
; UART4 Rx and Tx
165 00000134 00000000 DCD UART5Intcsb ; UART5 Rx and Tx
166 00000138 00000000 DCD IntDefaultHandler
; UART6 Rx and Tx
167 0000013C 00000000 DCD IntDefaultHandler
; UART7 Rx and Tx
168 00000140 00000000 DCD 0 ; Reserved
169 00000144 00000000 DCD 0 ; Reserved
170 00000148 00000000 DCD 0 ; Reserved
171 0000014C 00000000 DCD 0 ; Reserved
172 00000150 00000000 DCD IntDefaultHandler ; I2C2 Master
and Slave
173 00000154 00000000 DCD IntDefaultHandler ; I2C3 Master
and Slave
174 00000158 00000000 DCD IntDefaultHandler ; Timer 4 sub
timer A
175 0000015C 00000000 DCD IntDefaultHandler ; Timer 4 sub
timer B
176 00000160 00000000 DCD 0 ; Reserved
177 00000164 00000000 DCD 0 ; Reserved
178 00000168 00000000 DCD 0 ; Reserved
179 0000016C 00000000 DCD 0 ; Reserved
180 00000170 00000000 DCD 0 ; Reserved
181 00000174 00000000 DCD 0 ; Reserved
182 00000178 00000000 DCD 0 ; Reserved
183 0000017C 00000000 DCD 0 ; Reserved
184 00000180 00000000 DCD 0 ; Reserved
185 00000184 00000000 DCD 0 ; Reserved
186 00000188 00000000 DCD 0 ; Reserved
187 0000018C 00000000 DCD 0 ; Reserved
188 00000190 00000000 DCD 0 ; Reserved
189 00000194 00000000 DCD 0 ; Reserved
190 00000198 00000000 DCD 0 ; Reserved
191 0000019C 00000000 DCD 0 ; Reserved
192 000001A0 00000000 DCD 0 ; Reserved
193 000001A4 00000000 DCD 0 ; Reserved
194 000001A8 00000000 DCD 0 ; Reserved
195 000001AC 00000000 DCD 0 ; Reserved
196 000001B0 00000000 DCD IntDefaultHandler ; Timer 5 sub
ARM Macro Assembler Page 6
timer A
197 000001B4 00000000 DCD IntDefaultHandler ; Timer 5 sub
timer B
198 000001B8 00000000 DCD IntDefaultHandler ; Wide Timer
0 subtimer A
199 000001BC 00000000 DCD IntDefaultHandler ; Wide Timer
0 subtimer B
200 000001C0 00000000 DCD IntDefaultHandler ; Wide Timer
1 subtimer A
201 000001C4 00000000 DCD IntDefaultHandler ; Wide Timer
1 subtimer B
202 000001C8 00000000 DCD IntDefaultHandler ; Wide Timer
2 subtimer A
203 000001CC 00000000 DCD IntDefaultHandler ; Wide Timer
2 subtimer B
204 000001D0 00000000 DCD IntDefaultHandler ; Wide Timer
3 subtimer A
205 000001D4 00000000 DCD IntDefaultHandler ; Wide Timer
3 subtimer B
206 000001D8 00000000 DCD IntDefaultHandler ; Wide Timer
4 subtimer A
207 000001DC 00000000 DCD IntDefaultHandler ; Wide Timer
4 subtimer B
208 000001E0 00000000 DCD IntDefaultHandler ; Wide Timer
5 subtimer A
209 000001E4 00000000 DCD IntDefaultHandler ; Wide Timer
5 subtimer B
210 000001E8 00000000 DCD IntDefaultHandler ; FPU
211 000001EC 00000000 DCD IntDefaultHandler ; PECI 0
212 000001F0 00000000 DCD IntDefaultHandler ; LPC 0
213 000001F4 00000000 DCD IntDefaultHandler ; I2C4 Master
and Slave
214 000001F8 00000000 DCD IntDefaultHandler ; I2C5 Master
and Slave
215 000001FC 00000000 DCD IntDefaultHandler ; GPIO Port M
216 00000200 00000000 DCD IntDefaultHandler ; GPIO Port N
217 00000204 00000000 DCD IntDefaultHandler ; Quadrature
Encoder 2
218 00000208 00000000 DCD IntDefaultHandler ; Fan 0
219 0000020C 00000000 DCD 0 ; Reserved
220 00000210 00000000 DCD IntDefaultHandler ; GPIO Port P
(Summary or P0)
221 00000214 00000000 DCD IntDefaultHandler
; GPIO Port P1
222 00000218 00000000 DCD IntDefaultHandler
; GPIO Port P2
223 0000021C 00000000 DCD IntDefaultHandler
; GPIO Port P3
224 00000220 00000000 DCD IntDefaultHandler
; GPIO Port P4
225 00000224 00000000 DCD IntDefaultHandler
; GPIO Port P5
226 00000228 00000000 DCD IntDefaultHandler
; GPIO Port P6
227 0000022C 00000000 DCD IntDefaultHandler
; GPIO Port P7
228 00000230 00000000 DCD IntDefaultHandler ; GPIO Port Q
ARM Macro Assembler Page 7
(Summary or Q0)
229 00000234 00000000 DCD IntDefaultHandler
; GPIO Port Q1
230 00000238 00000000 DCD IntDefaultHandler
; GPIO Port Q2
231 0000023C 00000000 DCD IntDefaultHandler
; GPIO Port Q3
232 00000240 00000000 DCD IntDefaultHandler
; GPIO Port Q4
233 00000244 00000000 DCD IntDefaultHandler
; GPIO Port Q5
234 00000248 00000000 DCD IntDefaultHandler
; GPIO Port Q6
235 0000024C 00000000 DCD IntDefaultHandler
; GPIO Port Q7
236 00000250 00000000 DCD IntDefaultHandler ; GPIO Port R
237 00000254 00000000 DCD IntDefaultHandler ; GPIO Port S
238 00000258 00000000 DCD IntDefaultHandler
; PWM 1 Generator 0
239 0000025C 00000000 DCD IntDefaultHandler
; PWM 1 Generator 1
240 00000260 00000000 DCD IntDefaultHandler
; PWM 1 Generator 2
241 00000264 00000000 DCD IntDefaultHandler
; PWM 1 Generator 3
242 00000268 00000000 DCD IntDefaultHandler ; PWM 1 Fault
243 0000026C
244 0000026C ;*******************************************************
***********************
245 0000026C ;
246 0000026C ; This is the code that gets called when the processor f
irst starts execution
247 0000026C ; following a reset event.
248 0000026C ;
249 0000026C ;*******************************************************
***********************
250 0000026C EXPORT Reset_Handler
251 0000026C Reset_Handler
252 0000026C ;
253 0000026C ; Call the C library enty point that handles startup. T
his will copy
254 0000026C ; the .data section initializers from flash to SRAM and
zero fill the
255 0000026C ; .bss section.
256 0000026C ;
257 0000026C IMPORT __main
258 0000026C
259 0000026C IF {CPU} = "Cortex-M4.fp"
260 0000026C 4804 LDR R0, =0xE000ED88
; Enable CP10,CP11
261 0000026E 6801 LDR R1,[R0]
262 00000270 F441 0170 ORR R1,R1,#(0xF << 20)
ARM Macro Assembler Page 8
263 00000274 6001 STR R1,[R0]
264 00000276 ENDIF
265 00000276
266 00000276 F7FF BFFE B __main
267 0000027A
268 0000027A ;*******************************************************
***********************
269 0000027A ;
270 0000027A ; This is the code that gets called when the processor r
eceives a NMI. This
271 0000027A ; simply enters an infinite loop, preserving the system
state for examination
272 0000027A ; by a debugger.
273 0000027A ;
274 0000027A ;*******************************************************
***********************
275 0000027A NmiSR
276 0000027A E7FE B NmiSR
277 0000027C
278 0000027C ;*******************************************************
***********************
279 0000027C ;
280 0000027C ; This is the code that gets called when the processor r
eceives a fault
281 0000027C ; interrupt. This simply enters an infinite loop, prese
rving the system state
282 0000027C ; for examination by a debugger.
283 0000027C ;
284 0000027C ;*******************************************************
***********************
285 0000027C FaultISR
286 0000027C E7FE B FaultISR
287 0000027E
288 0000027E ;*******************************************************
***********************
289 0000027E ;
290 0000027E ; This is the code that gets called when the processor r
eceives an unexpected
291 0000027E ; interrupt. This simply enters an infinite loop, prese
rving the system state
292 0000027E ; for examination by a debugger.
293 0000027E ;
294 0000027E ;*******************************************************
***********************
295 0000027E IntDefaultHandler
296 0000027E E7FE B IntDefaultHandler
297 00000280
298 00000280 ;*******************************************************
***********************
299 00000280 ;
300 00000280 ; Make sure the end of this section is aligned.
301 00000280 ;
302 00000280 ;*******************************************************
***********************
303 00000280 ALIGN
304 00000280
305 00000280 ;*******************************************************
***********************
306 00000280 ;
ARM Macro Assembler Page 9
307 00000280 ; Some code in the normal code section for initializing
the heap and stack.
308 00000280 ;
309 00000280 ;*******************************************************
***********************
310 00000280 E000ED88 AREA |.text|, CODE, READONLY
311 00000000
312 00000000 ;*******************************************************
***********************
313 00000000 ;
314 00000000 ; The function expected of the C library startup code fo
r defining the stack
315 00000000 ; and heap memory locations. For the C library version
of the startup code,
316 00000000 ; provide this function so that the C library initializa
tion code can find out
317 00000000 ; the location of the stack and heap.
318 00000000 ;
319 00000000 ;*******************************************************
***********************
320 00000000 IF :DEF: __MICROLIB
325 00000000 IMPORT __use_two_region_memory
326 00000000 EXPORT __user_initial_stackheap
327 00000000 __user_initial_stackheap
328 00000000 4802 LDR R0, =HeapMem
329 00000002 4903 LDR R1, =(StackMem + Stack)
330 00000004 4A03 LDR R2, =(HeapMem + Heap)
331 00000006 4B04 LDR R3, =StackMem
332 00000008 4770 BX LR
333 0000000A ENDIF
334 0000000A
335 0000000A ;*******************************************************
***********************
336 0000000A ;
337 0000000A ; Make sure the end of this section is aligned.
338 0000000A ;
339 0000000A ;*******************************************************
***********************
340 0000000A 00 00 ALIGN
341 0000000C
342 0000000C ;*******************************************************
***********************
343 0000000C ;
344 0000000C ; Tell the assembler that we're done.
345 0000000C ;
346 0000000C ;*******************************************************
***********************
347 0000000C END
00000000
00002000
00002000
00000000
Command Line: --debug --xref --cpu=Cortex-M4.fp --apcs=interwork --depend=Start
up.d -oStartup.o -I"D:\keil mdk4.7\ARM\RV31\INC" -I"D:\keil mdk4.7\ARM\CMSIS\In
clude" -I"D:\keil mdk4.7\ARM\Inc\Luminary" --list=Startup.lst Startup.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
STACK 00000000
Symbol: STACK
Definitions
At line 45 in file Startup.s
Uses
None
Comment: STACK unused
StackMem 00000000
Symbol: StackMem
Definitions
At line 46 in file Startup.s
Uses
At line 88 in file Startup.s
At line 329 in file Startup.s
At line 331 in file Startup.s
__initial_sp 00002000
Symbol: __initial_sp
Definitions
At line 48 in file Startup.s
Uses
None
Comment: __initial_sp unused
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
HEAP 00000000
Symbol: HEAP
Definitions
At line 55 in file Startup.s
Uses
None
Comment: HEAP unused
HeapMem 00000000
Symbol: HeapMem
Definitions
At line 57 in file Startup.s
Uses
At line 328 in file Startup.s
At line 330 in file Startup.s
__heap_base 00000000
Symbol: __heap_base
Definitions
At line 56 in file Startup.s
Uses
None
Comment: __heap_base unused
__heap_limit 00002000
Symbol: __heap_limit
Definitions
At line 59 in file Startup.s
Uses
None
Comment: __heap_limit unused
4 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
FaultISR 0000027C
Symbol: FaultISR
Definitions
At line 285 in file Startup.s
Uses
At line 91 in file Startup.s
At line 286 in file Startup.s
IntDefaultHandler 0000027E
Symbol: IntDefaultHandler
Definitions
At line 295 in file Startup.s
Uses
At line 92 in file Startup.s
At line 93 in file Startup.s
At line 94 in file Startup.s
At line 99 in file Startup.s
At line 100 in file Startup.s
At line 102 in file Startup.s
At line 103 in file Startup.s
At line 104 in file Startup.s
At line 105 in file Startup.s
At line 106 in file Startup.s
At line 107 in file Startup.s
At line 110 in file Startup.s
At line 111 in file Startup.s
At line 112 in file Startup.s
At line 113 in file Startup.s
At line 114 in file Startup.s
At line 115 in file Startup.s
At line 116 in file Startup.s
At line 117 in file Startup.s
At line 118 in file Startup.s
At line 119 in file Startup.s
At line 120 in file Startup.s
At line 121 in file Startup.s
At line 122 in file Startup.s
At line 124 in file Startup.s
At line 125 in file Startup.s
At line 126 in file Startup.s
At line 127 in file Startup.s
At line 128 in file Startup.s
At line 129 in file Startup.s
At line 130 in file Startup.s
At line 131 in file Startup.s
At line 132 in file Startup.s
At line 133 in file Startup.s
At line 135 in file Startup.s
At line 136 in file Startup.s
At line 137 in file Startup.s
At line 138 in file Startup.s
At line 139 in file Startup.s
At line 140 in file Startup.s
At line 141 in file Startup.s
At line 142 in file Startup.s
At line 143 in file Startup.s
At line 144 in file Startup.s
ARM Macro Assembler Page 2 Alphabetic symbol ordering
Relocatable symbols
At line 145 in file Startup.s
At line 146 in file Startup.s
At line 147 in file Startup.s
At line 148 in file Startup.s
At line 149 in file Startup.s
At line 150 in file Startup.s
At line 151 in file Startup.s
At line 152 in file Startup.s
At line 153 in file Startup.s
At line 154 in file Startup.s
At line 155 in file Startup.s
At line 156 in file Startup.s
At line 157 in file Startup.s
At line 158 in file Startup.s
At line 159 in file Startup.s
At line 160 in file Startup.s
At line 161 in file Startup.s
At line 162 in file Startup.s
At line 163 in file Startup.s
At line 164 in file Startup.s
At line 166 in file Startup.s
At line 167 in file Startup.s
At line 172 in file Startup.s
At line 173 in file Startup.s
At line 174 in file Startup.s
At line 175 in file Startup.s
At line 196 in file Startup.s
At line 197 in file Startup.s
At line 198 in file Startup.s
At line 199 in file Startup.s
At line 200 in file Startup.s
At line 201 in file Startup.s
At line 202 in file Startup.s
At line 203 in file Startup.s
At line 204 in file Startup.s
At line 205 in file Startup.s
At line 206 in file Startup.s
At line 207 in file Startup.s
At line 208 in file Startup.s
At line 209 in file Startup.s
At line 210 in file Startup.s
At line 211 in file Startup.s
At line 212 in file Startup.s
At line 213 in file Startup.s
At line 214 in file Startup.s
At line 215 in file Startup.s
At line 216 in file Startup.s
At line 217 in file Startup.s
At line 218 in file Startup.s
At line 220 in file Startup.s
At line 221 in file Startup.s
At line 222 in file Startup.s
At line 223 in file Startup.s
At line 224 in file Startup.s
At line 225 in file Startup.s
At line 226 in file Startup.s
At line 227 in file Startup.s
At line 228 in file Startup.s
At line 229 in file Startup.s
ARM Macro Assembler Page 3 Alphabetic symbol ordering
Relocatable symbols
At line 230 in file Startup.s
At line 231 in file Startup.s
At line 232 in file Startup.s
At line 233 in file Startup.s
At line 234 in file Startup.s
At line 235 in file Startup.s
At line 236 in file Startup.s
At line 237 in file Startup.s
At line 238 in file Startup.s
At line 239 in file Startup.s
At line 240 in file Startup.s
At line 241 in file Startup.s
At line 242 in file Startup.s
At line 296 in file Startup.s
NmiSR 0000027A
Symbol: NmiSR
Definitions
At line 275 in file Startup.s
Uses
At line 90 in file Startup.s
At line 276 in file Startup.s
RESET 00000000
Symbol: RESET
Definitions
At line 73 in file Startup.s
Uses
None
Comment: RESET unused
Reset_Handler 0000026C
Symbol: Reset_Handler
Definitions
At line 251 in file Startup.s
Uses
At line 89 in file Startup.s
At line 250 in file Startup.s
__Vectors 00000000
Symbol: __Vectors
Definitions
At line 87 in file Startup.s
Uses
At line 86 in file Startup.s
Comment: __Vectors used once
6 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
.text 00000000
Symbol: .text
Definitions
At line 310 in file Startup.s
Uses
None
Comment: .text unused
__user_initial_stackheap 00000000
Symbol: __user_initial_stackheap
Definitions
At line 327 in file Startup.s
Uses
At line 326 in file Startup.s
Comment: __user_initial_stackheap used once
2 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Absolute symbols
Heap 00002000
Symbol: Heap
Definitions
At line 38 in file Startup.s
Uses
At line 58 in file Startup.s
At line 330 in file Startup.s
Stack 00002000
Symbol: Stack
Definitions
At line 31 in file Startup.s
Uses
At line 47 in file Startup.s
At line 88 in file Startup.s
At line 329 in file Startup.s
2 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
External symbols
GPIO_INT_E 00000000
Symbol: GPIO_INT_E
Definitions
At line 78 in file Startup.s
Uses
At line 108 in file Startup.s
Comment: GPIO_INT_E used once
Timer0IntHandler 00000000
Symbol: Timer0IntHandler
Definitions
At line 80 in file Startup.s
Uses
At line 123 in file Startup.s
Comment: Timer0IntHandler used once
UART0IntHandler 00000000
Symbol: UART0IntHandler
Definitions
At line 79 in file Startup.s
Uses
At line 109 in file Startup.s
Comment: UART0IntHandler used once
UART5Intcsb 00000000
Symbol: UART5Intcsb
Definitions
At line 76 in file Startup.s
Uses
At line 165 in file Startup.s
Comment: UART5Intcsb used once
__main 00000000
Symbol: __main
Definitions
At line 257 in file Startup.s
Uses
At line 266 in file Startup.s
Comment: __main used once
__use_two_region_memory 00000000
Symbol: __use_two_region_memory
Definitions
At line 325 in file Startup.s
Uses
None
Comment: __use_two_region_memory unused
reg_int_handler 00000000
Symbol: reg_int_handler
Definitions
At line 75 in file Startup.s
Uses
At line 134 in file Startup.s
Comment: reg_int_handler used once
7 symbols
361 symbols in table