📄 stm32f10x_vector.lst
字号:
ARM Macro Assembler Page 1
1 00000000 ;******************** (C) COPYRIGHT 2007 STMicroelectron
ics ********************
2 00000000 ;* File Name : stm32f10x_vector.s
3 00000000 ;* Author : MCD Application Team
4 00000000 ;* Date First Issued : 05/21/2007
5 00000000 ;* Description : 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 CortexM3 process
or is in Thread mode,
12 00000000 ;* priority is Privileged, and the
Stack is set to Main.
13 00000000 ;* <<< Use Configuration Wizard in Context Menu >>>
14 00000000 ;*******************************************************
************************
15 00000000 ; History:
16 00000000 ; 05/21/2007: V0.3
17 00000000 ;*******************************************************
************************
18 00000000 ; THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS A
T PROVIDING CUSTOMERS
19 00000000 ; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN OR
DER FOR THEM TO SAVE TIME.
20 00000000 ; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIAB
LE FOR ANY DIRECT,
21 00000000 ; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY
CLAIMS ARISING FROM THE
22 00000000 ; CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOM
ERS OF THE CODING
23 00000000 ; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR
PRODUCTS.
24 00000000 ;*******************************************************
************************
25 00000000
26 00000000 ; Amount of memory (in bytes) allocated for Stack and He
ap
27 00000000 ; Tailor those values to your application needs
28 00000000 ;// <h> Stack Configuration
29 00000000 ;// <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
30 00000000 ;// </h>
31 00000000
32 00000000 00000200
Stack_Size
EQU 0x00000200
33 00000000
34 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
35 00000000 Stack_Mem
SPACE Stack_Size
36 00000200 __initial_sp
37 00000200
38 00000200
39 00000200 ;// <h> Heap Configuration
ARM Macro Assembler Page 2
40 00000200 ;// <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
41 00000200 ;// </h>
42 00000200
43 00000200 00000200
Heap_Size
EQU 0x00000200
44 00000200
45 00000200 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
46 00000000 __heap_base
47 00000000 Heap_Mem
SPACE Heap_Size
48 00000200 __heap_limit
49 00000200
50 00000200
51 00000200 THUMB
52 00000200 PRESERVE8
53 00000200
54 00000200 ; Import exceptions handlers
55 00000200 IMPORT NMIException
56 00000200 IMPORT HardFaultException
57 00000200 IMPORT MemManageException
58 00000200 IMPORT BusFaultException
59 00000200 IMPORT UsageFaultException
60 00000200 IMPORT SVCHandler
61 00000200 IMPORT DebugMonitor
62 00000200 IMPORT PendSVC
63 00000200 IMPORT SysTickHandler
64 00000200 IMPORT WWDG_IRQHandler
65 00000200 IMPORT PVD_IRQHandler
66 00000200 IMPORT TAMPER_IRQHandler
67 00000200 IMPORT RTC_IRQHandler
68 00000200 IMPORT FLASH_IRQHandler
69 00000200 IMPORT RCC_IRQHandler
70 00000200 IMPORT EXTI0_IRQHandler
71 00000200 IMPORT EXTI1_IRQHandler
72 00000200 IMPORT EXTI2_IRQHandler
73 00000200 IMPORT EXTI3_IRQHandler
74 00000200 IMPORT EXTI4_IRQHandler
75 00000200 IMPORT DMAChannel1_IRQHandler
76 00000200 IMPORT DMAChannel2_IRQHandler
77 00000200 IMPORT DMAChannel3_IRQHandler
78 00000200 IMPORT DMAChannel4_IRQHandler
79 00000200 IMPORT DMAChannel5_IRQHandler
80 00000200 IMPORT DMAChannel6_IRQHandler
81 00000200 IMPORT DMAChannel7_IRQHandler
82 00000200 IMPORT ADC_IRQHandler
83 00000200 IMPORT USB_HP_CAN_TX_IRQHandler
84 00000200 IMPORT USB_LP_CAN_RX0_IRQHandler
85 00000200 IMPORT CAN_RX1_IRQHandler
86 00000200 IMPORT CAN_SCE_IRQHandler
87 00000200 IMPORT EXTI9_5_IRQHandler
88 00000200 IMPORT TIM1_BRK_IRQHandler
89 00000200 IMPORT TIM1_UP_IRQHandler
90 00000200 IMPORT TIM1_TRG_COM_IRQHandler
91 00000200 IMPORT TIM1_CC_IRQHandler
92 00000200 IMPORT TIM2_IRQHandler
93 00000200 IMPORT TIM3_IRQHandler
94 00000200 IMPORT TIM4_IRQHandler
ARM Macro Assembler Page 3
95 00000200 IMPORT I2C1_EV_IRQHandler
96 00000200 IMPORT I2C1_ER_IRQHandler
97 00000200 IMPORT I2C2_EV_IRQHandler
98 00000200 IMPORT I2C2_ER_IRQHandler
99 00000200 IMPORT SPI1_IRQHandler
100 00000200 IMPORT SPI2_IRQHandler
101 00000200 IMPORT USART1_IRQHandler
102 00000200 IMPORT USART2_IRQHandler
103 00000200 IMPORT USART3_IRQHandler
104 00000200 IMPORT EXTI15_10_IRQHandler
105 00000200 IMPORT RTCAlarm_IRQHandler
106 00000200 IMPORT USBWakeUp_IRQHandler
107 00000200
108 00000200 ;*******************************************************
************************
109 00000200 ; Fill-up the Vector Table entries with the exceptions I
SR address
110 00000200 ;*******************************************************
************************
111 00000200 AREA RESET, DATA, READONLY
112 00000000 EXPORT __Vectors
113 00000000
114 00000000 00000000
__Vectors
DCD __initial_sp ; Top of Stack
115 00000004 00000000 DCD Reset_Handler
116 00000008 00000000 DCD NMIException
117 0000000C 00000000 DCD HardFaultException
118 00000010 00000000 DCD MemManageException
119 00000014 00000000 DCD BusFaultException
120 00000018 00000000 DCD UsageFaultException
121 0000001C 00000000 DCD 0 ; Reserved
122 00000020 00000000 DCD 0 ; Reserved
123 00000024 00000000 DCD 0 ; Reserved
124 00000028 00000000 DCD 0 ; Reserved
125 0000002C 00000000 DCD SVCHandler
126 00000030 00000000 DCD DebugMonitor
127 00000034 00000000 DCD 0 ; Reserved
128 00000038 00000000 DCD PendSVC
129 0000003C 00000000 DCD SysTickHandler
130 00000040 00000000 DCD WWDG_IRQHandler
131 00000044 00000000 DCD PVD_IRQHandler
132 00000048 00000000 DCD TAMPER_IRQHandler
133 0000004C 00000000 DCD RTC_IRQHandler
134 00000050 00000000 DCD FLASH_IRQHandler
135 00000054 00000000 DCD RCC_IRQHandler
136 00000058 00000000 DCD EXTI0_IRQHandler
137 0000005C 00000000 DCD EXTI1_IRQHandler
138 00000060 00000000 DCD EXTI2_IRQHandler
139 00000064 00000000 DCD EXTI3_IRQHandler
140 00000068 00000000 DCD EXTI4_IRQHandler
141 0000006C 00000000 DCD DMAChannel1_IRQHandler
142 00000070 00000000 DCD DMAChannel2_IRQHandler
143 00000074 00000000 DCD DMAChannel3_IRQHandler
144 00000078 00000000 DCD DMAChannel4_IRQHandler
145 0000007C 00000000 DCD DMAChannel5_IRQHandler
146 00000080 00000000 DCD DMAChannel6_IRQHandler
147 00000084 00000000 DCD DMAChannel7_IRQHandler
148 00000088 00000000 DCD ADC_IRQHandler
ARM Macro Assembler Page 4
149 0000008C 00000000 DCD USB_HP_CAN_TX_IRQHandler
150 00000090 00000000 DCD USB_LP_CAN_RX0_IRQHandler
151 00000094 00000000 DCD CAN_RX1_IRQHandler
152 00000098 00000000 DCD CAN_SCE_IRQHandler
153 0000009C 00000000 DCD EXTI9_5_IRQHandler
154 000000A0 00000000 DCD TIM1_BRK_IRQHandler
155 000000A4 00000000 DCD TIM1_UP_IRQHandler
156 000000A8 00000000 DCD TIM1_TRG_COM_IRQHandler
157 000000AC 00000000 DCD TIM1_CC_IRQHandler
158 000000B0 00000000 DCD TIM2_IRQHandler
159 000000B4 00000000 DCD TIM3_IRQHandler
160 000000B8 00000000 DCD TIM4_IRQHandler
161 000000BC 00000000 DCD I2C1_EV_IRQHandler
162 000000C0 00000000 DCD I2C1_ER_IRQHandler
163 000000C4 00000000 DCD I2C2_EV_IRQHandler
164 000000C8 00000000 DCD I2C2_ER_IRQHandler
165 000000CC 00000000 DCD SPI1_IRQHandler
166 000000D0 00000000 DCD SPI2_IRQHandler
167 000000D4 00000000 DCD USART1_IRQHandler
168 000000D8 00000000 DCD USART2_IRQHandler
169 000000DC 00000000 DCD USART3_IRQHandler
170 000000E0 00000000 DCD EXTI15_10_IRQHandler
171 000000E4 00000000 DCD RTCAlarm_IRQHandler
172 000000E8 00000000 DCD USBWakeUp_IRQHandler
173 000000EC
174 000000EC AREA |.text|, CODE, READONLY
175 00000000
176 00000000 ; Reset handler routine
177 00000000 Reset_Handler
PROC
178 00000000 EXPORT Reset_Handler
179 00000000 IMPORT __main
180 00000000 4803 LDR R0, =__main
181 00000002 4700 BX R0
182 00000004 ENDP
183 00000004
184 00000004 ALIGN
185 00000004
186 00000004 ;*******************************************************
************************
187 00000004 ; User Stack and Heap initialization
188 00000004 ;*******************************************************
************************
189 00000004 IF :DEF:__MICROLIB
196 00000004
197 00000004 IMPORT __use_two_region_memory
198 00000004 EXPORT __user_initial_stackheap
199 00000004 __user_initial_stackheap
200 00000004
201 00000004 4803 LDR R0, = Heap_Mem
202 00000006 4904 LDR R1, =(Stack_Mem + Stack_Size)
203 00000008 4A04 LDR R2, = (Heap_Mem + Heap_Size)
204 0000000A 4B05 LDR R3, = Stack_Mem
205 0000000C 4770 BX LR
206 0000000E
207 0000000E 00 00 ALIGN
208 00000010
209 00000010 ENDIF
210 00000010
ARM Macro Assembler Page 5
211 00000010 END
00000000
00000000
00000200
00000200
00000000
Command Line: --debug --xref --device=DARMSTM --apcs=interwork -o..\obj\stm32f1
0x_vector.o -IC:\Keil\ARM\INC\ST\STM32F10x --list=..\listing\stm32f10x_vector.l
st stm32f10x_vector.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
STACK 00000000
Symbol: STACK
Definitions
At line 34 in file stm32f10x_vector.s
Uses
None
Comment: STACK unused
Stack_Mem 00000000
Symbol: Stack_Mem
Definitions
At line 35 in file stm32f10x_vector.s
Uses
At line 202 in file stm32f10x_vector.s
At line 204 in file stm32f10x_vector.s
__initial_sp 00000200
Symbol: __initial_sp
Definitions
At line 36 in file stm32f10x_vector.s
Uses
At line 114 in file stm32f10x_vector.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 45 in file stm32f10x_vector.s
Uses
None
Comment: HEAP unused
Heap_Mem 00000000
Symbol: Heap_Mem
Definitions
At line 47 in file stm32f10x_vector.s
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -