110VCGQ/project/daqidianchang/MDK-ARM/startup_stm32f030x6.lst
2024-11-18 10:09:39 +08:00

810 lines
26 KiB
Plaintext

ARM Macro Assembler Page 1
1 00000000 ;*******************************************************
************************
2 00000000 ;* File Name : startup_stm32f030x6.s
3 00000000 ;* Author : MCD Application Team
4 00000000 ;* Description : STM32F030x4/STM32F030x6 devices
vector table for MDK-ARM toolchain.
5 00000000 ;* This module performs:
6 00000000 ;* - Set the initial SP
7 00000000 ;* - Set the initial PC == Reset_Ha
ndler
8 00000000 ;* - Set the vector table entries w
ith the exceptions ISR address
9 00000000 ;* - Branches to __main in the C li
brary (which eventually
10 00000000 ;* calls main()).
11 00000000 ;* After Reset the CortexM0 process
or is in Thread mode,
12 00000000 ;* priority is Privileged, and the
Stack is set to Main.
13 00000000 ;*******************************************************
*************************
14 00000000 ;* @attention
15 00000000 ;*
16 00000000 ;* Copyright (c) 2016 STMicroelectronics.
17 00000000 ;* All rights reserved.
18 00000000 ;*
19 00000000 ;* This software component is licensed by ST under BSD 3
-Clause license,
20 00000000 ;* the "License"; You may not use this file except in co
mpliance with the
21 00000000 ;* License. You may obtain a copy of the License at:
22 00000000 ;* opensource.org/licenses/BSD-3-
Clause
23 00000000 ;*
24 00000000 ;*******************************************************
************************
25 00000000 ;* <<< Use Configuration Wizard in Context Menu >>>
26 00000000 ;
27 00000000
28 00000000 ; Amount of memory (in bytes) allocated for Stack
29 00000000 ; Tailor this value to your application needs
30 00000000 ; <h> Stack Configuration
31 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
32 00000000 ; </h>
33 00000000
34 00000000 00000400
Stack_Size
EQU 0x400
35 00000000
36 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
37 00000000 Stack_Mem
SPACE Stack_Size
38 00000400 __initial_sp
39 00000400
40 00000400
41 00000400 ; <h> Heap Configuration
42 00000400 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
43 00000400 ; </h>
ARM Macro Assembler Page 2
44 00000400
45 00000400 00000200
Heap_Size
EQU 0x200
46 00000400
47 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
48 00000000 __heap_base
49 00000000 Heap_Mem
SPACE Heap_Size
50 00000200 __heap_limit
51 00000200
52 00000200 PRESERVE8
53 00000200 THUMB
54 00000200
55 00000200
56 00000200 ; Vector Table Mapped to Address 0 at Reset
57 00000200 AREA RESET, DATA, READONLY
58 00000000 EXPORT __Vectors
59 00000000 EXPORT __Vectors_End
60 00000000 EXPORT __Vectors_Size
61 00000000
62 00000000 00000000
__Vectors
DCD __initial_sp ; Top of Stack
63 00000004 00000000 DCD Reset_Handler ; Reset Handler
64 00000008 00000000 DCD NMI_Handler ; NMI Handler
65 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
Handler
66 00000010 00000000 DCD 0 ; Reserved
67 00000014 00000000 DCD 0 ; Reserved
68 00000018 00000000 DCD 0 ; Reserved
69 0000001C 00000000 DCD 0 ; Reserved
70 00000020 00000000 DCD 0 ; Reserved
71 00000024 00000000 DCD 0 ; Reserved
72 00000028 00000000 DCD 0 ; Reserved
73 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
74 00000030 00000000 DCD 0 ; Reserved
75 00000034 00000000 DCD 0 ; Reserved
76 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
77 0000003C 00000000 DCD SysTick_Handler
; SysTick Handler
78 00000040
79 00000040 ; External Interrupts
80 00000040 00000000 DCD WWDG_IRQHandler
; Window Watchdog
81 00000044 00000000 DCD 0 ; Reserved
82 00000048 00000000 DCD RTC_IRQHandler ; RTC through EX
TI Line
83 0000004C 00000000 DCD FLASH_IRQHandler ; FLASH
84 00000050 00000000 DCD RCC_IRQHandler ; RCC
85 00000054 00000000 DCD EXTI0_1_IRQHandler
; EXTI Line 0 and 1
86 00000058 00000000 DCD EXTI2_3_IRQHandler
; EXTI Line 2 and 3
87 0000005C 00000000 DCD EXTI4_15_IRQHandler
ARM Macro Assembler Page 3
; EXTI Line 4 to 15
88 00000060 00000000 DCD 0 ; Reserved
89 00000064 00000000 DCD DMA1_Channel1_IRQHandler
; DMA1 Channel 1
90 00000068 00000000 DCD DMA1_Channel2_3_IRQHandler ; DM
A1 Channel 2 and Ch
annel 3
91 0000006C 00000000 DCD DMA1_Channel4_5_IRQHandler ; DM
A1 Channel 4 and Ch
annel 5
92 00000070 00000000 DCD ADC1_IRQHandler ; ADC1
93 00000074 00000000 DCD TIM1_BRK_UP_TRG_COM_IRQHandler
; TIM1 Break, Updat
e, Trigger and Comm
utation
94 00000078 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu
re Compare
95 0000007C 00000000 DCD 0 ; Reserved
96 00000080 00000000 DCD TIM3_IRQHandler ; TIM3
97 00000084 00000000 DCD 0 ; Reserved
98 00000088 00000000 DCD 0 ; Reserved
99 0000008C 00000000 DCD TIM14_IRQHandler ; TIM14
100 00000090 00000000 DCD 0 ; Reserved
101 00000094 00000000 DCD TIM16_IRQHandler ; TIM16
102 00000098 00000000 DCD TIM17_IRQHandler ; TIM17
103 0000009C 00000000 DCD I2C1_IRQHandler ; I2C1
104 000000A0 00000000 DCD 0 ; Reserved
105 000000A4 00000000 DCD SPI1_IRQHandler ; SPI1
106 000000A8 00000000 DCD 0 ; Reserved
107 000000AC 00000000 DCD USART1_IRQHandler ; USART1
108 000000B0
109 000000B0
110 000000B0 __Vectors_End
111 000000B0
112 000000B0 000000B0
__Vectors_Size
EQU __Vectors_End - __Vectors
113 000000B0
114 000000B0 AREA |.text|, CODE, READONLY
115 00000000
116 00000000 ; Reset handler routine
117 00000000 Reset_Handler
PROC
118 00000000 EXPORT Reset_Handler [
WEAK]
119 00000000 IMPORT __main
120 00000000 IMPORT SystemInit
121 00000000 4807 LDR R0, =SystemInit
122 00000002 4780 BLX R0
123 00000004 4807 LDR R0, =__main
124 00000006 4700 BX R0
125 00000008 ENDP
126 00000008
127 00000008 ; Dummy Exception Handlers (infinite loops which can be
modified)
128 00000008
129 00000008 NMI_Handler
PROC
ARM Macro Assembler Page 4
130 00000008 EXPORT NMI_Handler
[WEAK]
131 00000008 E7FE B .
132 0000000A ENDP
134 0000000A HardFault_Handler
PROC
135 0000000A EXPORT HardFault_Handler
[WEAK]
136 0000000A E7FE B .
137 0000000C ENDP
138 0000000C SVC_Handler
PROC
139 0000000C EXPORT SVC_Handler
[WEAK]
140 0000000C E7FE B .
141 0000000E ENDP
142 0000000E PendSV_Handler
PROC
143 0000000E EXPORT PendSV_Handler
[WEAK]
144 0000000E E7FE B .
145 00000010 ENDP
146 00000010 SysTick_Handler
PROC
147 00000010 EXPORT SysTick_Handler
[WEAK]
148 00000010 E7FE B .
149 00000012 ENDP
150 00000012
151 00000012 Default_Handler
PROC
152 00000012
153 00000012 EXPORT WWDG_IRQHandler
[WEAK]
154 00000012 EXPORT RTC_IRQHandler
[WEAK]
155 00000012 EXPORT FLASH_IRQHandler
[WEAK]
156 00000012 EXPORT RCC_IRQHandler
[WEAK]
157 00000012 EXPORT EXTI0_1_IRQHandler
[WEAK]
158 00000012 EXPORT EXTI2_3_IRQHandler
[WEAK]
159 00000012 EXPORT EXTI4_15_IRQHandler
[WEAK]
160 00000012 EXPORT DMA1_Channel1_IRQHandler
[WEAK]
161 00000012 EXPORT DMA1_Channel2_3_IRQHandler
[WEAK]
162 00000012 EXPORT DMA1_Channel4_5_IRQHandler
[WEAK]
163 00000012 EXPORT ADC1_IRQHandler
[WEAK]
164 00000012 EXPORT TIM1_BRK_UP_TRG_COM_IRQHandler
[WEAK]
165 00000012 EXPORT TIM1_CC_IRQHandler
[WEAK]
166 00000012 EXPORT TIM3_IRQHandler
ARM Macro Assembler Page 5
[WEAK]
167 00000012 EXPORT TIM14_IRQHandler
[WEAK]
168 00000012 EXPORT TIM16_IRQHandler
[WEAK]
169 00000012 EXPORT TIM17_IRQHandler
[WEAK]
170 00000012 EXPORT I2C1_IRQHandler
[WEAK]
171 00000012 EXPORT SPI1_IRQHandler
[WEAK]
172 00000012 EXPORT USART1_IRQHandler
[WEAK]
173 00000012
174 00000012
175 00000012 WWDG_IRQHandler
176 00000012 RTC_IRQHandler
177 00000012 FLASH_IRQHandler
178 00000012 RCC_IRQHandler
179 00000012 EXTI0_1_IRQHandler
180 00000012 EXTI2_3_IRQHandler
181 00000012 EXTI4_15_IRQHandler
182 00000012 DMA1_Channel1_IRQHandler
183 00000012 DMA1_Channel2_3_IRQHandler
184 00000012 DMA1_Channel4_5_IRQHandler
185 00000012 ADC1_IRQHandler
186 00000012 TIM1_BRK_UP_TRG_COM_IRQHandler
187 00000012 TIM1_CC_IRQHandler
188 00000012 TIM3_IRQHandler
189 00000012 TIM14_IRQHandler
190 00000012 TIM16_IRQHandler
191 00000012 TIM17_IRQHandler
192 00000012 I2C1_IRQHandler
193 00000012 SPI1_IRQHandler
194 00000012 USART1_IRQHandler
195 00000012
196 00000012 E7FE B .
197 00000014
198 00000014 ENDP
199 00000014
200 00000014 ALIGN
201 00000014
202 00000014 ;*******************************************************
************************
203 00000014 ; User Stack and Heap initialization
204 00000014 ;*******************************************************
************************
205 00000014 IF :DEF:__MICROLIB
212 00000014
213 00000014 IMPORT __use_two_region_memory
214 00000014 EXPORT __user_initial_stackheap
215 00000014
216 00000014 __user_initial_stackheap
217 00000014
218 00000014 4804 LDR R0, = Heap_Mem
219 00000016 4905 LDR R1, =(Stack_Mem + Stack_Size)
220 00000018 4A05 LDR R2, = (Heap_Mem + Heap_Size)
221 0000001A 4B06 LDR R3, = Stack_Mem
222 0000001C 4770 BX LR
ARM Macro Assembler Page 6
223 0000001E
224 0000001E 00 00 ALIGN
225 00000020
226 00000020 ENDIF
227 00000020
228 00000020 END
00000000
00000000
00000000
00000400
00000200
00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
ork --depend=daqidianchang\startup_stm32f030x6.d -odaqidianchang\startup_stm32f
030x6.o -I.\RTE\_daqidianchang -ID:\KEIL\data\ARM\CMSIS\5.8.0\CMSIS\Core\Includ
e -ID:\KEIL\data\Keil\STM32F0xx_DFP\2.1.0\Drivers\CMSIS\Device\ST\STM32F0xx\Inc
lude --predefine="__UVISION_VERSION SETA 535" --predefine="_RTE_ SETA 1" --pred
efine="STM32F030x6 SETA 1" --predefine="_RTE_ SETA 1" --list=startup_stm32f030x
6.lst startup_stm32f030x6.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
STACK 00000000
Symbol: STACK
Definitions
At line 36 in file startup_stm32f030x6.s
Uses
None
Comment: STACK unused
Stack_Mem 00000000
Symbol: Stack_Mem
Definitions
At line 37 in file startup_stm32f030x6.s
Uses
At line 219 in file startup_stm32f030x6.s
At line 221 in file startup_stm32f030x6.s
__initial_sp 00000400
Symbol: __initial_sp
Definitions
At line 38 in file startup_stm32f030x6.s
Uses
At line 62 in file startup_stm32f030x6.s
Comment: __initial_sp used once
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
HEAP 00000000
Symbol: HEAP
Definitions
At line 47 in file startup_stm32f030x6.s
Uses
None
Comment: HEAP unused
Heap_Mem 00000000
Symbol: Heap_Mem
Definitions
At line 49 in file startup_stm32f030x6.s
Uses
At line 218 in file startup_stm32f030x6.s
At line 220 in file startup_stm32f030x6.s
__heap_base 00000000
Symbol: __heap_base
Definitions
At line 48 in file startup_stm32f030x6.s
Uses
None
Comment: __heap_base unused
__heap_limit 00000200
Symbol: __heap_limit
Definitions
At line 50 in file startup_stm32f030x6.s
Uses
None
Comment: __heap_limit unused
4 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
RESET 00000000
Symbol: RESET
Definitions
At line 57 in file startup_stm32f030x6.s
Uses
None
Comment: RESET unused
__Vectors 00000000
Symbol: __Vectors
Definitions
At line 62 in file startup_stm32f030x6.s
Uses
At line 58 in file startup_stm32f030x6.s
At line 112 in file startup_stm32f030x6.s
__Vectors_End 000000B0
Symbol: __Vectors_End
Definitions
At line 110 in file startup_stm32f030x6.s
Uses
At line 59 in file startup_stm32f030x6.s
At line 112 in file startup_stm32f030x6.s
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
.text 00000000
Symbol: .text
Definitions
At line 114 in file startup_stm32f030x6.s
Uses
None
Comment: .text unused
ADC1_IRQHandler 00000012
Symbol: ADC1_IRQHandler
Definitions
At line 185 in file startup_stm32f030x6.s
Uses
At line 92 in file startup_stm32f030x6.s
At line 163 in file startup_stm32f030x6.s
DMA1_Channel1_IRQHandler 00000012
Symbol: DMA1_Channel1_IRQHandler
Definitions
At line 182 in file startup_stm32f030x6.s
Uses
At line 89 in file startup_stm32f030x6.s
At line 160 in file startup_stm32f030x6.s
DMA1_Channel2_3_IRQHandler 00000012
Symbol: DMA1_Channel2_3_IRQHandler
Definitions
At line 183 in file startup_stm32f030x6.s
Uses
At line 90 in file startup_stm32f030x6.s
At line 161 in file startup_stm32f030x6.s
DMA1_Channel4_5_IRQHandler 00000012
Symbol: DMA1_Channel4_5_IRQHandler
Definitions
At line 184 in file startup_stm32f030x6.s
Uses
At line 91 in file startup_stm32f030x6.s
At line 162 in file startup_stm32f030x6.s
Default_Handler 00000012
Symbol: Default_Handler
Definitions
At line 151 in file startup_stm32f030x6.s
Uses
None
Comment: Default_Handler unused
EXTI0_1_IRQHandler 00000012
Symbol: EXTI0_1_IRQHandler
Definitions
At line 179 in file startup_stm32f030x6.s
Uses
At line 85 in file startup_stm32f030x6.s
ARM Macro Assembler Page 2 Alphabetic symbol ordering
Relocatable symbols
At line 157 in file startup_stm32f030x6.s
EXTI2_3_IRQHandler 00000012
Symbol: EXTI2_3_IRQHandler
Definitions
At line 180 in file startup_stm32f030x6.s
Uses
At line 86 in file startup_stm32f030x6.s
At line 158 in file startup_stm32f030x6.s
EXTI4_15_IRQHandler 00000012
Symbol: EXTI4_15_IRQHandler
Definitions
At line 181 in file startup_stm32f030x6.s
Uses
At line 87 in file startup_stm32f030x6.s
At line 159 in file startup_stm32f030x6.s
FLASH_IRQHandler 00000012
Symbol: FLASH_IRQHandler
Definitions
At line 177 in file startup_stm32f030x6.s
Uses
At line 83 in file startup_stm32f030x6.s
At line 155 in file startup_stm32f030x6.s
HardFault_Handler 0000000A
Symbol: HardFault_Handler
Definitions
At line 134 in file startup_stm32f030x6.s
Uses
At line 65 in file startup_stm32f030x6.s
At line 135 in file startup_stm32f030x6.s
I2C1_IRQHandler 00000012
Symbol: I2C1_IRQHandler
Definitions
At line 192 in file startup_stm32f030x6.s
Uses
At line 103 in file startup_stm32f030x6.s
At line 170 in file startup_stm32f030x6.s
NMI_Handler 00000008
Symbol: NMI_Handler
Definitions
At line 129 in file startup_stm32f030x6.s
Uses
At line 64 in file startup_stm32f030x6.s
At line 130 in file startup_stm32f030x6.s
PendSV_Handler 0000000E
Symbol: PendSV_Handler
ARM Macro Assembler Page 3 Alphabetic symbol ordering
Relocatable symbols
Definitions
At line 142 in file startup_stm32f030x6.s
Uses
At line 76 in file startup_stm32f030x6.s
At line 143 in file startup_stm32f030x6.s
RCC_IRQHandler 00000012
Symbol: RCC_IRQHandler
Definitions
At line 178 in file startup_stm32f030x6.s
Uses
At line 84 in file startup_stm32f030x6.s
At line 156 in file startup_stm32f030x6.s
RTC_IRQHandler 00000012
Symbol: RTC_IRQHandler
Definitions
At line 176 in file startup_stm32f030x6.s
Uses
At line 82 in file startup_stm32f030x6.s
At line 154 in file startup_stm32f030x6.s
Reset_Handler 00000000
Symbol: Reset_Handler
Definitions
At line 117 in file startup_stm32f030x6.s
Uses
At line 63 in file startup_stm32f030x6.s
At line 118 in file startup_stm32f030x6.s
SPI1_IRQHandler 00000012
Symbol: SPI1_IRQHandler
Definitions
At line 193 in file startup_stm32f030x6.s
Uses
At line 105 in file startup_stm32f030x6.s
At line 171 in file startup_stm32f030x6.s
SVC_Handler 0000000C
Symbol: SVC_Handler
Definitions
At line 138 in file startup_stm32f030x6.s
Uses
At line 73 in file startup_stm32f030x6.s
At line 139 in file startup_stm32f030x6.s
SysTick_Handler 00000010
Symbol: SysTick_Handler
Definitions
At line 146 in file startup_stm32f030x6.s
Uses
At line 77 in file startup_stm32f030x6.s
At line 147 in file startup_stm32f030x6.s
ARM Macro Assembler Page 4 Alphabetic symbol ordering
Relocatable symbols
TIM14_IRQHandler 00000012
Symbol: TIM14_IRQHandler
Definitions
At line 189 in file startup_stm32f030x6.s
Uses
At line 99 in file startup_stm32f030x6.s
At line 167 in file startup_stm32f030x6.s
TIM16_IRQHandler 00000012
Symbol: TIM16_IRQHandler
Definitions
At line 190 in file startup_stm32f030x6.s
Uses
At line 101 in file startup_stm32f030x6.s
At line 168 in file startup_stm32f030x6.s
TIM17_IRQHandler 00000012
Symbol: TIM17_IRQHandler
Definitions
At line 191 in file startup_stm32f030x6.s
Uses
At line 102 in file startup_stm32f030x6.s
At line 169 in file startup_stm32f030x6.s
TIM1_BRK_UP_TRG_COM_IRQHandler 00000012
Symbol: TIM1_BRK_UP_TRG_COM_IRQHandler
Definitions
At line 186 in file startup_stm32f030x6.s
Uses
At line 93 in file startup_stm32f030x6.s
At line 164 in file startup_stm32f030x6.s
TIM1_CC_IRQHandler 00000012
Symbol: TIM1_CC_IRQHandler
Definitions
At line 187 in file startup_stm32f030x6.s
Uses
At line 94 in file startup_stm32f030x6.s
At line 165 in file startup_stm32f030x6.s
TIM3_IRQHandler 00000012
Symbol: TIM3_IRQHandler
Definitions
At line 188 in file startup_stm32f030x6.s
Uses
At line 96 in file startup_stm32f030x6.s
At line 166 in file startup_stm32f030x6.s
USART1_IRQHandler 00000012
Symbol: USART1_IRQHandler
Definitions
ARM Macro Assembler Page 5 Alphabetic symbol ordering
Relocatable symbols
At line 194 in file startup_stm32f030x6.s
Uses
At line 107 in file startup_stm32f030x6.s
At line 172 in file startup_stm32f030x6.s
WWDG_IRQHandler 00000012
Symbol: WWDG_IRQHandler
Definitions
At line 175 in file startup_stm32f030x6.s
Uses
At line 80 in file startup_stm32f030x6.s
At line 153 in file startup_stm32f030x6.s
__user_initial_stackheap 00000014
Symbol: __user_initial_stackheap
Definitions
At line 216 in file startup_stm32f030x6.s
Uses
At line 214 in file startup_stm32f030x6.s
Comment: __user_initial_stackheap used once
29 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Absolute symbols
Heap_Size 00000200
Symbol: Heap_Size
Definitions
At line 45 in file startup_stm32f030x6.s
Uses
At line 49 in file startup_stm32f030x6.s
At line 220 in file startup_stm32f030x6.s
Stack_Size 00000400
Symbol: Stack_Size
Definitions
At line 34 in file startup_stm32f030x6.s
Uses
At line 37 in file startup_stm32f030x6.s
At line 219 in file startup_stm32f030x6.s
__Vectors_Size 000000B0
Symbol: __Vectors_Size
Definitions
At line 112 in file startup_stm32f030x6.s
Uses
At line 60 in file startup_stm32f030x6.s
Comment: __Vectors_Size used once
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
External symbols
SystemInit 00000000
Symbol: SystemInit
Definitions
At line 120 in file startup_stm32f030x6.s
Uses
At line 121 in file startup_stm32f030x6.s
Comment: SystemInit used once
__main 00000000
Symbol: __main
Definitions
At line 119 in file startup_stm32f030x6.s
Uses
At line 123 in file startup_stm32f030x6.s
Comment: __main used once
__use_two_region_memory 00000000
Symbol: __use_two_region_memory
Definitions
At line 213 in file startup_stm32f030x6.s
Uses
None
Comment: __use_two_region_memory unused
3 symbols
382 symbols in table