startup_stm32f103xb.lst 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210
  1. ARM Macro Assembler Page 1
  2. 1 00000000 ;******************** (C) COPYRIGHT 2017 STMicroelectron
  3. ics ********************
  4. 2 00000000 ;* File Name : startup_stm32f103xb.s
  5. 3 00000000 ;* Author : MCD Application Team
  6. 4 00000000 ;* Version : V4.2.0
  7. 5 00000000 ;* Date : 31-March-2017
  8. 6 00000000 ;* Description : STM32F103xB Devices vector table
  9. for MDK-ARM toolchain.
  10. 7 00000000 ;* This module performs:
  11. 8 00000000 ;* - Set the initial SP
  12. 9 00000000 ;* - Set the initial PC == Reset_Ha
  13. ndler
  14. 10 00000000 ;* - Set the vector table entries w
  15. ith the exceptions ISR address
  16. 11 00000000 ;* - Configure the clock system
  17. 12 00000000 ;* - Branches to __main in the C li
  18. brary (which eventually
  19. 13 00000000 ;* calls main()).
  20. 14 00000000 ;* After Reset the Cortex-M3 proces
  21. sor is in Thread mode,
  22. 15 00000000 ;* priority is Privileged, and the
  23. Stack is set to Main.
  24. 16 00000000 ;*******************************************************
  25. *************************
  26. 17 00000000 ;*
  27. 18 00000000 ;* <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectroni
  28. cs</center></h2>
  29. 19 00000000 ;*
  30. 20 00000000 ;* Redistribution and use in source and binary forms, wi
  31. th or without modification,
  32. 21 00000000 ;* are permitted provided that the following conditions
  33. are met:
  34. 22 00000000 ;* 1. Redistributions of source code must retain the a
  35. bove copyright notice,
  36. 23 00000000 ;* this list of conditions and the following discla
  37. imer.
  38. 24 00000000 ;* 2. Redistributions in binary form must reproduce th
  39. e above copyright notice,
  40. 25 00000000 ;* this list of conditions and the following discla
  41. imer in the documentation
  42. 26 00000000 ;* and/or other materials provided with the distrib
  43. ution.
  44. 27 00000000 ;* 3. Neither the name of STMicroelectronics nor the n
  45. ames of its contributors
  46. 28 00000000 ;* may be used to endorse or promote products deriv
  47. ed from this software
  48. 29 00000000 ;* without specific prior written permission.
  49. 30 00000000 ;*
  50. 31 00000000 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AN
  51. D CONTRIBUTORS "AS IS"
  52. 32 00000000 ;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
  53. NOT LIMITED TO, THE
  54. 33 00000000 ;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  55. A PARTICULAR PURPOSE ARE
  56. 34 00000000 ;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  57. CONTRIBUTORS BE LIABLE
  58. 35 00000000 ;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPL
  59. ARY, OR CONSEQUENTIAL
  60. 36 00000000 ;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT O
  61. ARM Macro Assembler Page 2
  62. F SUBSTITUTE GOODS OR
  63. 37 00000000 ;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  64. INTERRUPTION) HOWEVER
  65. 38 00000000 ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CON
  66. TRACT, STRICT LIABILITY,
  67. 39 00000000 ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING I
  68. N ANY WAY OUT OF THE USE
  69. 40 00000000 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  70. OF SUCH DAMAGE.
  71. 41 00000000 ;
  72. 42 00000000 ;*******************************************************
  73. ************************
  74. 43 00000000
  75. 44 00000000 ; Amount of memory (in bytes) allocated for Stack
  76. 45 00000000 ; Tailor this value to your application needs
  77. 46 00000000 ; <h> Stack Configuration
  78. 47 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
  79. 48 00000000 ; </h>
  80. 49 00000000
  81. 50 00000000 00000400
  82. Stack_Size
  83. EQU 0x400
  84. 51 00000000
  85. 52 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
  86. =3
  87. 53 00000000 Stack_Mem
  88. SPACE Stack_Size
  89. 54 00000400 __initial_sp
  90. 55 00000400
  91. 56 00000400
  92. 57 00000400 ; <h> Heap Configuration
  93. 58 00000400 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
  94. 59 00000400 ; </h>
  95. 60 00000400
  96. 61 00000400 00002000
  97. Heap_Size
  98. EQU 0x2000
  99. 62 00000400
  100. 63 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
  101. 3
  102. 64 00000000 __heap_base
  103. 65 00000000 Heap_Mem
  104. SPACE Heap_Size
  105. 66 00002000 __heap_limit
  106. 67 00002000
  107. 68 00002000 PRESERVE8
  108. 69 00002000 THUMB
  109. 70 00002000
  110. 71 00002000
  111. 72 00002000 ; Vector Table Mapped to Address 0 at Reset
  112. 73 00002000 AREA RESET, DATA, READONLY
  113. 74 00000000 EXPORT __Vectors
  114. 75 00000000 EXPORT __Vectors_End
  115. 76 00000000 EXPORT __Vectors_Size
  116. 77 00000000
  117. 78 00000000 00000000
  118. __Vectors
  119. DCD __initial_sp ; Top of Stack
  120. 79 00000004 00000000 DCD Reset_Handler ; Reset Handler
  121. ARM Macro Assembler Page 3
  122. 80 00000008 00000000 DCD NMI_Handler ; NMI Handler
  123. 81 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
  124. Handler
  125. 82 00000010 00000000 DCD MemManage_Handler
  126. ; MPU Fault Handler
  127. 83 00000014 00000000 DCD BusFault_Handler
  128. ; Bus Fault Handler
  129. 84 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
  130. t Handler
  131. 85 0000001C 00000000 DCD 0 ; Reserved
  132. 86 00000020 00000000 DCD 0 ; Reserved
  133. 87 00000024 00000000 DCD 0 ; Reserved
  134. 88 00000028 00000000 DCD 0 ; Reserved
  135. 89 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
  136. 90 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
  137. r Handler
  138. 91 00000034 00000000 DCD 0 ; Reserved
  139. 92 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
  140. 93 0000003C 00000000 DCD SysTick_Handler
  141. ; SysTick Handler
  142. 94 00000040
  143. 95 00000040 ; External Interrupts
  144. 96 00000040 00000000 DCD WWDG_IRQHandler
  145. ; Window Watchdog
  146. 97 00000044 00000000 DCD PVD_IRQHandler ; PVD through EX
  147. TI Line detect
  148. 98 00000048 00000000 DCD TAMPER_IRQHandler ; Tamper
  149. 99 0000004C 00000000 DCD RTC_IRQHandler ; RTC
  150. 100 00000050 00000000 DCD FLASH_IRQHandler ; Flash
  151. 101 00000054 00000000 DCD RCC_IRQHandler ; RCC
  152. 102 00000058 00000000 DCD EXTI0_IRQHandler ; EXTI Line 0
  153. 103 0000005C 00000000 DCD EXTI1_IRQHandler ; EXTI Line 1
  154. 104 00000060 00000000 DCD EXTI2_IRQHandler ; EXTI Line 2
  155. 105 00000064 00000000 DCD EXTI3_IRQHandler ; EXTI Line 3
  156. 106 00000068 00000000 DCD EXTI4_IRQHandler ; EXTI Line 4
  157. 107 0000006C 00000000 DCD DMA1_Channel1_IRQHandler
  158. ; DMA1 Channel 1
  159. 108 00000070 00000000 DCD DMA1_Channel2_IRQHandler
  160. ; DMA1 Channel 2
  161. 109 00000074 00000000 DCD DMA1_Channel3_IRQHandler
  162. ; DMA1 Channel 3
  163. 110 00000078 00000000 DCD DMA1_Channel4_IRQHandler
  164. ; DMA1 Channel 4
  165. 111 0000007C 00000000 DCD DMA1_Channel5_IRQHandler
  166. ; DMA1 Channel 5
  167. 112 00000080 00000000 DCD DMA1_Channel6_IRQHandler
  168. ; DMA1 Channel 6
  169. 113 00000084 00000000 DCD DMA1_Channel7_IRQHandler
  170. ; DMA1 Channel 7
  171. 114 00000088 00000000 DCD ADC1_2_IRQHandler ; ADC1_2
  172. 115 0000008C 00000000 DCD USB_HP_CAN1_TX_IRQHandler ; USB
  173. High Priority or C
  174. AN1 TX
  175. 116 00000090 00000000 DCD USB_LP_CAN1_RX0_IRQHandler ; US
  176. B Low Priority or
  177. CAN1 RX0
  178. ARM Macro Assembler Page 4
  179. 117 00000094 00000000 DCD CAN1_RX1_IRQHandler ; CAN1 RX1
  180. 118 00000098 00000000 DCD CAN1_SCE_IRQHandler ; CAN1 SCE
  181. 119 0000009C 00000000 DCD EXTI9_5_IRQHandler
  182. ; EXTI Line 9..5
  183. 120 000000A0 00000000 DCD TIM1_BRK_IRQHandler
  184. ; TIM1 Break
  185. 121 000000A4 00000000 DCD TIM1_UP_IRQHandler
  186. ; TIM1 Update
  187. 122 000000A8 00000000 DCD TIM1_TRG_COM_IRQHandler ; TIM1
  188. Trigger and Commuta
  189. tion
  190. 123 000000AC 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu
  191. re Compare
  192. 124 000000B0 00000000 DCD TIM2_IRQHandler ; TIM2
  193. 125 000000B4 00000000 DCD TIM3_IRQHandler ; TIM3
  194. 126 000000B8 00000000 DCD TIM4_IRQHandler ; TIM4
  195. 127 000000BC 00000000 DCD I2C1_EV_IRQHandler ; I2C1 Event
  196. 128 000000C0 00000000 DCD I2C1_ER_IRQHandler ; I2C1 Error
  197. 129 000000C4 00000000 DCD I2C2_EV_IRQHandler ; I2C2 Event
  198. 130 000000C8 00000000 DCD I2C2_ER_IRQHandler ; I2C2 Error
  199. 131 000000CC 00000000 DCD SPI1_IRQHandler ; SPI1
  200. 132 000000D0 00000000 DCD SPI2_IRQHandler ; SPI2
  201. 133 000000D4 00000000 DCD USART1_IRQHandler ; USART1
  202. 134 000000D8 00000000 DCD USART2_IRQHandler ; USART2
  203. 135 000000DC 00000000 DCD USART3_IRQHandler ; USART3
  204. 136 000000E0 00000000 DCD EXTI15_10_IRQHandler
  205. ; EXTI Line 15..10
  206. 137 000000E4 00000000 DCD RTC_Alarm_IRQHandler ; RTC Alar
  207. m through EXTI Line
  208. 138 000000E8 00000000 DCD USBWakeUp_IRQHandler ; USB Wake
  209. up from suspend
  210. 139 000000EC __Vectors_End
  211. 140 000000EC
  212. 141 000000EC 000000EC
  213. __Vectors_Size
  214. EQU __Vectors_End - __Vectors
  215. 142 000000EC
  216. 143 000000EC AREA |.text|, CODE, READONLY
  217. 144 00000000
  218. 145 00000000 ; Reset handler
  219. 146 00000000 Reset_Handler
  220. PROC
  221. 147 00000000 EXPORT Reset_Handler [WEAK
  222. ]
  223. 148 00000000 IMPORT __main
  224. 149 00000000 IMPORT SystemInit
  225. 150 00000000 4806 LDR R0, =SystemInit
  226. 151 00000002 4780 BLX R0
  227. 152 00000004 4806 LDR R0, =__main
  228. 153 00000006 4700 BX R0
  229. 154 00000008 ENDP
  230. 155 00000008
  231. 156 00000008 ; Dummy Exception Handlers (infinite loops which can be
  232. modified)
  233. ARM Macro Assembler Page 5
  234. 157 00000008
  235. 158 00000008 NMI_Handler
  236. PROC
  237. 159 00000008 EXPORT NMI_Handler [WEA
  238. K]
  239. 160 00000008 E7FE B .
  240. 161 0000000A ENDP
  241. 163 0000000A HardFault_Handler
  242. PROC
  243. 164 0000000A EXPORT HardFault_Handler [WEA
  244. K]
  245. 165 0000000A E7FE B .
  246. 166 0000000C ENDP
  247. 168 0000000C MemManage_Handler
  248. PROC
  249. 169 0000000C EXPORT MemManage_Handler [WEA
  250. K]
  251. 170 0000000C E7FE B .
  252. 171 0000000E ENDP
  253. 173 0000000E BusFault_Handler
  254. PROC
  255. 174 0000000E EXPORT BusFault_Handler [WEA
  256. K]
  257. 175 0000000E E7FE B .
  258. 176 00000010 ENDP
  259. 178 00000010 UsageFault_Handler
  260. PROC
  261. 179 00000010 EXPORT UsageFault_Handler [WEA
  262. K]
  263. 180 00000010 E7FE B .
  264. 181 00000012 ENDP
  265. 182 00000012 SVC_Handler
  266. PROC
  267. 183 00000012 EXPORT SVC_Handler [WEA
  268. K]
  269. 184 00000012 E7FE B .
  270. 185 00000014 ENDP
  271. 187 00000014 DebugMon_Handler
  272. PROC
  273. 188 00000014 EXPORT DebugMon_Handler [WEA
  274. K]
  275. 189 00000014 E7FE B .
  276. 190 00000016 ENDP
  277. 191 00000016 PendSV_Handler
  278. PROC
  279. 192 00000016 EXPORT PendSV_Handler [WEA
  280. K]
  281. 193 00000016 E7FE B .
  282. 194 00000018 ENDP
  283. 195 00000018 SysTick_Handler
  284. PROC
  285. 196 00000018 EXPORT SysTick_Handler [WEA
  286. K]
  287. 197 00000018 E7FE B .
  288. 198 0000001A ENDP
  289. 199 0000001A
  290. 200 0000001A Default_Handler
  291. PROC
  292. 201 0000001A
  293. ARM Macro Assembler Page 6
  294. 202 0000001A EXPORT WWDG_IRQHandler [WEA
  295. K]
  296. 203 0000001A EXPORT PVD_IRQHandler [WEA
  297. K]
  298. 204 0000001A EXPORT TAMPER_IRQHandler [WEA
  299. K]
  300. 205 0000001A EXPORT RTC_IRQHandler [WEA
  301. K]
  302. 206 0000001A EXPORT FLASH_IRQHandler [WEA
  303. K]
  304. 207 0000001A EXPORT RCC_IRQHandler [WEA
  305. K]
  306. 208 0000001A EXPORT EXTI0_IRQHandler [WEA
  307. K]
  308. 209 0000001A EXPORT EXTI1_IRQHandler [WEA
  309. K]
  310. 210 0000001A EXPORT EXTI2_IRQHandler [WEA
  311. K]
  312. 211 0000001A EXPORT EXTI3_IRQHandler [WEA
  313. K]
  314. 212 0000001A EXPORT EXTI4_IRQHandler [WEA
  315. K]
  316. 213 0000001A EXPORT DMA1_Channel1_IRQHandler [WEA
  317. K]
  318. 214 0000001A EXPORT DMA1_Channel2_IRQHandler [WEA
  319. K]
  320. 215 0000001A EXPORT DMA1_Channel3_IRQHandler [WEA
  321. K]
  322. 216 0000001A EXPORT DMA1_Channel4_IRQHandler [WEA
  323. K]
  324. 217 0000001A EXPORT DMA1_Channel5_IRQHandler [WEA
  325. K]
  326. 218 0000001A EXPORT DMA1_Channel6_IRQHandler [WEA
  327. K]
  328. 219 0000001A EXPORT DMA1_Channel7_IRQHandler [WEA
  329. K]
  330. 220 0000001A EXPORT ADC1_2_IRQHandler [WEA
  331. K]
  332. 221 0000001A EXPORT USB_HP_CAN1_TX_IRQHandler [WEA
  333. K]
  334. 222 0000001A EXPORT USB_LP_CAN1_RX0_IRQHandler [WEA
  335. K]
  336. 223 0000001A EXPORT CAN1_RX1_IRQHandler [WEA
  337. K]
  338. 224 0000001A EXPORT CAN1_SCE_IRQHandler [WEA
  339. K]
  340. 225 0000001A EXPORT EXTI9_5_IRQHandler [WEA
  341. K]
  342. 226 0000001A EXPORT TIM1_BRK_IRQHandler [WEA
  343. K]
  344. 227 0000001A EXPORT TIM1_UP_IRQHandler [WEA
  345. K]
  346. 228 0000001A EXPORT TIM1_TRG_COM_IRQHandler [WEA
  347. K]
  348. 229 0000001A EXPORT TIM1_CC_IRQHandler [WEA
  349. K]
  350. 230 0000001A EXPORT TIM2_IRQHandler [WEA
  351. K]
  352. 231 0000001A EXPORT TIM3_IRQHandler [WEA
  353. ARM Macro Assembler Page 7
  354. K]
  355. 232 0000001A EXPORT TIM4_IRQHandler [WEA
  356. K]
  357. 233 0000001A EXPORT I2C1_EV_IRQHandler [WEA
  358. K]
  359. 234 0000001A EXPORT I2C1_ER_IRQHandler [WEA
  360. K]
  361. 235 0000001A EXPORT I2C2_EV_IRQHandler [WEA
  362. K]
  363. 236 0000001A EXPORT I2C2_ER_IRQHandler [WEA
  364. K]
  365. 237 0000001A EXPORT SPI1_IRQHandler [WEA
  366. K]
  367. 238 0000001A EXPORT SPI2_IRQHandler [WEA
  368. K]
  369. 239 0000001A EXPORT USART1_IRQHandler [WEA
  370. K]
  371. 240 0000001A EXPORT USART2_IRQHandler [WEA
  372. K]
  373. 241 0000001A EXPORT USART3_IRQHandler [WEA
  374. K]
  375. 242 0000001A EXPORT EXTI15_10_IRQHandler [WEA
  376. K]
  377. 243 0000001A EXPORT RTC_Alarm_IRQHandler [WE
  378. AK]
  379. 244 0000001A EXPORT USBWakeUp_IRQHandler [WEA
  380. K]
  381. 245 0000001A
  382. 246 0000001A WWDG_IRQHandler
  383. 247 0000001A PVD_IRQHandler
  384. 248 0000001A TAMPER_IRQHandler
  385. 249 0000001A RTC_IRQHandler
  386. 250 0000001A FLASH_IRQHandler
  387. 251 0000001A RCC_IRQHandler
  388. 252 0000001A EXTI0_IRQHandler
  389. 253 0000001A EXTI1_IRQHandler
  390. 254 0000001A EXTI2_IRQHandler
  391. 255 0000001A EXTI3_IRQHandler
  392. 256 0000001A EXTI4_IRQHandler
  393. 257 0000001A DMA1_Channel1_IRQHandler
  394. 258 0000001A DMA1_Channel2_IRQHandler
  395. 259 0000001A DMA1_Channel3_IRQHandler
  396. 260 0000001A DMA1_Channel4_IRQHandler
  397. 261 0000001A DMA1_Channel5_IRQHandler
  398. 262 0000001A DMA1_Channel6_IRQHandler
  399. 263 0000001A DMA1_Channel7_IRQHandler
  400. 264 0000001A ADC1_2_IRQHandler
  401. 265 0000001A USB_HP_CAN1_TX_IRQHandler
  402. 266 0000001A USB_LP_CAN1_RX0_IRQHandler
  403. 267 0000001A CAN1_RX1_IRQHandler
  404. 268 0000001A CAN1_SCE_IRQHandler
  405. 269 0000001A EXTI9_5_IRQHandler
  406. 270 0000001A TIM1_BRK_IRQHandler
  407. 271 0000001A TIM1_UP_IRQHandler
  408. 272 0000001A TIM1_TRG_COM_IRQHandler
  409. 273 0000001A TIM1_CC_IRQHandler
  410. 274 0000001A TIM2_IRQHandler
  411. 275 0000001A TIM3_IRQHandler
  412. 276 0000001A TIM4_IRQHandler
  413. ARM Macro Assembler Page 8
  414. 277 0000001A I2C1_EV_IRQHandler
  415. 278 0000001A I2C1_ER_IRQHandler
  416. 279 0000001A I2C2_EV_IRQHandler
  417. 280 0000001A I2C2_ER_IRQHandler
  418. 281 0000001A SPI1_IRQHandler
  419. 282 0000001A SPI2_IRQHandler
  420. 283 0000001A USART1_IRQHandler
  421. 284 0000001A USART2_IRQHandler
  422. 285 0000001A USART3_IRQHandler
  423. 286 0000001A EXTI15_10_IRQHandler
  424. 287 0000001A RTC_Alarm_IRQHandler
  425. 288 0000001A USBWakeUp_IRQHandler
  426. 289 0000001A
  427. 290 0000001A E7FE B .
  428. 291 0000001C
  429. 292 0000001C ENDP
  430. 293 0000001C
  431. 294 0000001C ALIGN
  432. 295 0000001C
  433. 296 0000001C ;*******************************************************
  434. ************************
  435. 297 0000001C ; User Stack and Heap initialization
  436. 298 0000001C ;*******************************************************
  437. ************************
  438. 299 0000001C IF :DEF:__MICROLIB
  439. 300 0000001C
  440. 301 0000001C EXPORT __initial_sp
  441. 302 0000001C EXPORT __heap_base
  442. 303 0000001C EXPORT __heap_limit
  443. 304 0000001C
  444. 305 0000001C ELSE
  445. 320 ENDIF
  446. 321 0000001C
  447. 322 0000001C END
  448. 00000000
  449. 00000000
  450. Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
  451. ork --depend=sim7600\startup_stm32f103xb.d -osim7600\startup_stm32f103xb.o -I.\
  452. RTE\_SIM7600 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include -IC:\Keil_v5\A
  453. RM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__MICROLIB SETA 1"
  454. --predefine="__UVISION_VERSION SETA 523" --predefine="_RTE_ SETA 1" --predefin
  455. e="STM32F10X_MD SETA 1" --list=startup_stm32f103xb.lst startup_stm32f103xb.s
  456. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  457. Relocatable symbols
  458. STACK 00000000
  459. Symbol: STACK
  460. Definitions
  461. At line 52 in file startup_stm32f103xb.s
  462. Uses
  463. None
  464. Comment: STACK unused
  465. Stack_Mem 00000000
  466. Symbol: Stack_Mem
  467. Definitions
  468. At line 53 in file startup_stm32f103xb.s
  469. Uses
  470. None
  471. Comment: Stack_Mem unused
  472. __initial_sp 00000400
  473. Symbol: __initial_sp
  474. Definitions
  475. At line 54 in file startup_stm32f103xb.s
  476. Uses
  477. At line 78 in file startup_stm32f103xb.s
  478. At line 301 in file startup_stm32f103xb.s
  479. 3 symbols
  480. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  481. Relocatable symbols
  482. HEAP 00000000
  483. Symbol: HEAP
  484. Definitions
  485. At line 63 in file startup_stm32f103xb.s
  486. Uses
  487. None
  488. Comment: HEAP unused
  489. Heap_Mem 00000000
  490. Symbol: Heap_Mem
  491. Definitions
  492. At line 65 in file startup_stm32f103xb.s
  493. Uses
  494. None
  495. Comment: Heap_Mem unused
  496. __heap_base 00000000
  497. Symbol: __heap_base
  498. Definitions
  499. At line 64 in file startup_stm32f103xb.s
  500. Uses
  501. At line 302 in file startup_stm32f103xb.s
  502. Comment: __heap_base used once
  503. __heap_limit 00002000
  504. Symbol: __heap_limit
  505. Definitions
  506. At line 66 in file startup_stm32f103xb.s
  507. Uses
  508. At line 303 in file startup_stm32f103xb.s
  509. Comment: __heap_limit used once
  510. 4 symbols
  511. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  512. Relocatable symbols
  513. RESET 00000000
  514. Symbol: RESET
  515. Definitions
  516. At line 73 in file startup_stm32f103xb.s
  517. Uses
  518. None
  519. Comment: RESET unused
  520. __Vectors 00000000
  521. Symbol: __Vectors
  522. Definitions
  523. At line 78 in file startup_stm32f103xb.s
  524. Uses
  525. At line 74 in file startup_stm32f103xb.s
  526. At line 141 in file startup_stm32f103xb.s
  527. __Vectors_End 000000EC
  528. Symbol: __Vectors_End
  529. Definitions
  530. At line 139 in file startup_stm32f103xb.s
  531. Uses
  532. At line 75 in file startup_stm32f103xb.s
  533. At line 141 in file startup_stm32f103xb.s
  534. 3 symbols
  535. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  536. Relocatable symbols
  537. .text 00000000
  538. Symbol: .text
  539. Definitions
  540. At line 143 in file startup_stm32f103xb.s
  541. Uses
  542. None
  543. Comment: .text unused
  544. ADC1_2_IRQHandler 0000001A
  545. Symbol: ADC1_2_IRQHandler
  546. Definitions
  547. At line 264 in file startup_stm32f103xb.s
  548. Uses
  549. At line 114 in file startup_stm32f103xb.s
  550. At line 220 in file startup_stm32f103xb.s
  551. BusFault_Handler 0000000E
  552. Symbol: BusFault_Handler
  553. Definitions
  554. At line 173 in file startup_stm32f103xb.s
  555. Uses
  556. At line 83 in file startup_stm32f103xb.s
  557. At line 174 in file startup_stm32f103xb.s
  558. CAN1_RX1_IRQHandler 0000001A
  559. Symbol: CAN1_RX1_IRQHandler
  560. Definitions
  561. At line 267 in file startup_stm32f103xb.s
  562. Uses
  563. At line 117 in file startup_stm32f103xb.s
  564. At line 223 in file startup_stm32f103xb.s
  565. CAN1_SCE_IRQHandler 0000001A
  566. Symbol: CAN1_SCE_IRQHandler
  567. Definitions
  568. At line 268 in file startup_stm32f103xb.s
  569. Uses
  570. At line 118 in file startup_stm32f103xb.s
  571. At line 224 in file startup_stm32f103xb.s
  572. DMA1_Channel1_IRQHandler 0000001A
  573. Symbol: DMA1_Channel1_IRQHandler
  574. Definitions
  575. At line 257 in file startup_stm32f103xb.s
  576. Uses
  577. At line 107 in file startup_stm32f103xb.s
  578. At line 213 in file startup_stm32f103xb.s
  579. DMA1_Channel2_IRQHandler 0000001A
  580. Symbol: DMA1_Channel2_IRQHandler
  581. Definitions
  582. At line 258 in file startup_stm32f103xb.s
  583. Uses
  584. ARM Macro Assembler Page 2 Alphabetic symbol ordering
  585. Relocatable symbols
  586. At line 108 in file startup_stm32f103xb.s
  587. At line 214 in file startup_stm32f103xb.s
  588. DMA1_Channel3_IRQHandler 0000001A
  589. Symbol: DMA1_Channel3_IRQHandler
  590. Definitions
  591. At line 259 in file startup_stm32f103xb.s
  592. Uses
  593. At line 109 in file startup_stm32f103xb.s
  594. At line 215 in file startup_stm32f103xb.s
  595. DMA1_Channel4_IRQHandler 0000001A
  596. Symbol: DMA1_Channel4_IRQHandler
  597. Definitions
  598. At line 260 in file startup_stm32f103xb.s
  599. Uses
  600. At line 110 in file startup_stm32f103xb.s
  601. At line 216 in file startup_stm32f103xb.s
  602. DMA1_Channel5_IRQHandler 0000001A
  603. Symbol: DMA1_Channel5_IRQHandler
  604. Definitions
  605. At line 261 in file startup_stm32f103xb.s
  606. Uses
  607. At line 111 in file startup_stm32f103xb.s
  608. At line 217 in file startup_stm32f103xb.s
  609. DMA1_Channel6_IRQHandler 0000001A
  610. Symbol: DMA1_Channel6_IRQHandler
  611. Definitions
  612. At line 262 in file startup_stm32f103xb.s
  613. Uses
  614. At line 112 in file startup_stm32f103xb.s
  615. At line 218 in file startup_stm32f103xb.s
  616. DMA1_Channel7_IRQHandler 0000001A
  617. Symbol: DMA1_Channel7_IRQHandler
  618. Definitions
  619. At line 263 in file startup_stm32f103xb.s
  620. Uses
  621. At line 113 in file startup_stm32f103xb.s
  622. At line 219 in file startup_stm32f103xb.s
  623. DebugMon_Handler 00000014
  624. Symbol: DebugMon_Handler
  625. Definitions
  626. At line 187 in file startup_stm32f103xb.s
  627. Uses
  628. At line 90 in file startup_stm32f103xb.s
  629. At line 188 in file startup_stm32f103xb.s
  630. Default_Handler 0000001A
  631. ARM Macro Assembler Page 3 Alphabetic symbol ordering
  632. Relocatable symbols
  633. Symbol: Default_Handler
  634. Definitions
  635. At line 200 in file startup_stm32f103xb.s
  636. Uses
  637. None
  638. Comment: Default_Handler unused
  639. EXTI0_IRQHandler 0000001A
  640. Symbol: EXTI0_IRQHandler
  641. Definitions
  642. At line 252 in file startup_stm32f103xb.s
  643. Uses
  644. At line 102 in file startup_stm32f103xb.s
  645. At line 208 in file startup_stm32f103xb.s
  646. EXTI15_10_IRQHandler 0000001A
  647. Symbol: EXTI15_10_IRQHandler
  648. Definitions
  649. At line 286 in file startup_stm32f103xb.s
  650. Uses
  651. At line 136 in file startup_stm32f103xb.s
  652. At line 242 in file startup_stm32f103xb.s
  653. EXTI1_IRQHandler 0000001A
  654. Symbol: EXTI1_IRQHandler
  655. Definitions
  656. At line 253 in file startup_stm32f103xb.s
  657. Uses
  658. At line 103 in file startup_stm32f103xb.s
  659. At line 209 in file startup_stm32f103xb.s
  660. EXTI2_IRQHandler 0000001A
  661. Symbol: EXTI2_IRQHandler
  662. Definitions
  663. At line 254 in file startup_stm32f103xb.s
  664. Uses
  665. At line 104 in file startup_stm32f103xb.s
  666. At line 210 in file startup_stm32f103xb.s
  667. EXTI3_IRQHandler 0000001A
  668. Symbol: EXTI3_IRQHandler
  669. Definitions
  670. At line 255 in file startup_stm32f103xb.s
  671. Uses
  672. At line 105 in file startup_stm32f103xb.s
  673. At line 211 in file startup_stm32f103xb.s
  674. EXTI4_IRQHandler 0000001A
  675. Symbol: EXTI4_IRQHandler
  676. Definitions
  677. At line 256 in file startup_stm32f103xb.s
  678. Uses
  679. At line 106 in file startup_stm32f103xb.s
  680. At line 212 in file startup_stm32f103xb.s
  681. ARM Macro Assembler Page 4 Alphabetic symbol ordering
  682. Relocatable symbols
  683. EXTI9_5_IRQHandler 0000001A
  684. Symbol: EXTI9_5_IRQHandler
  685. Definitions
  686. At line 269 in file startup_stm32f103xb.s
  687. Uses
  688. At line 119 in file startup_stm32f103xb.s
  689. At line 225 in file startup_stm32f103xb.s
  690. FLASH_IRQHandler 0000001A
  691. Symbol: FLASH_IRQHandler
  692. Definitions
  693. At line 250 in file startup_stm32f103xb.s
  694. Uses
  695. At line 100 in file startup_stm32f103xb.s
  696. At line 206 in file startup_stm32f103xb.s
  697. HardFault_Handler 0000000A
  698. Symbol: HardFault_Handler
  699. Definitions
  700. At line 163 in file startup_stm32f103xb.s
  701. Uses
  702. At line 81 in file startup_stm32f103xb.s
  703. At line 164 in file startup_stm32f103xb.s
  704. I2C1_ER_IRQHandler 0000001A
  705. Symbol: I2C1_ER_IRQHandler
  706. Definitions
  707. At line 278 in file startup_stm32f103xb.s
  708. Uses
  709. At line 128 in file startup_stm32f103xb.s
  710. At line 234 in file startup_stm32f103xb.s
  711. I2C1_EV_IRQHandler 0000001A
  712. Symbol: I2C1_EV_IRQHandler
  713. Definitions
  714. At line 277 in file startup_stm32f103xb.s
  715. Uses
  716. At line 127 in file startup_stm32f103xb.s
  717. At line 233 in file startup_stm32f103xb.s
  718. I2C2_ER_IRQHandler 0000001A
  719. Symbol: I2C2_ER_IRQHandler
  720. Definitions
  721. At line 280 in file startup_stm32f103xb.s
  722. Uses
  723. At line 130 in file startup_stm32f103xb.s
  724. At line 236 in file startup_stm32f103xb.s
  725. I2C2_EV_IRQHandler 0000001A
  726. Symbol: I2C2_EV_IRQHandler
  727. Definitions
  728. ARM Macro Assembler Page 5 Alphabetic symbol ordering
  729. Relocatable symbols
  730. At line 279 in file startup_stm32f103xb.s
  731. Uses
  732. At line 129 in file startup_stm32f103xb.s
  733. At line 235 in file startup_stm32f103xb.s
  734. MemManage_Handler 0000000C
  735. Symbol: MemManage_Handler
  736. Definitions
  737. At line 168 in file startup_stm32f103xb.s
  738. Uses
  739. At line 82 in file startup_stm32f103xb.s
  740. At line 169 in file startup_stm32f103xb.s
  741. NMI_Handler 00000008
  742. Symbol: NMI_Handler
  743. Definitions
  744. At line 158 in file startup_stm32f103xb.s
  745. Uses
  746. At line 80 in file startup_stm32f103xb.s
  747. At line 159 in file startup_stm32f103xb.s
  748. PVD_IRQHandler 0000001A
  749. Symbol: PVD_IRQHandler
  750. Definitions
  751. At line 247 in file startup_stm32f103xb.s
  752. Uses
  753. At line 97 in file startup_stm32f103xb.s
  754. At line 203 in file startup_stm32f103xb.s
  755. PendSV_Handler 00000016
  756. Symbol: PendSV_Handler
  757. Definitions
  758. At line 191 in file startup_stm32f103xb.s
  759. Uses
  760. At line 92 in file startup_stm32f103xb.s
  761. At line 192 in file startup_stm32f103xb.s
  762. RCC_IRQHandler 0000001A
  763. Symbol: RCC_IRQHandler
  764. Definitions
  765. At line 251 in file startup_stm32f103xb.s
  766. Uses
  767. At line 101 in file startup_stm32f103xb.s
  768. At line 207 in file startup_stm32f103xb.s
  769. RTC_Alarm_IRQHandler 0000001A
  770. Symbol: RTC_Alarm_IRQHandler
  771. Definitions
  772. At line 287 in file startup_stm32f103xb.s
  773. Uses
  774. At line 137 in file startup_stm32f103xb.s
  775. At line 243 in file startup_stm32f103xb.s
  776. ARM Macro Assembler Page 6 Alphabetic symbol ordering
  777. Relocatable symbols
  778. RTC_IRQHandler 0000001A
  779. Symbol: RTC_IRQHandler
  780. Definitions
  781. At line 249 in file startup_stm32f103xb.s
  782. Uses
  783. At line 99 in file startup_stm32f103xb.s
  784. At line 205 in file startup_stm32f103xb.s
  785. Reset_Handler 00000000
  786. Symbol: Reset_Handler
  787. Definitions
  788. At line 146 in file startup_stm32f103xb.s
  789. Uses
  790. At line 79 in file startup_stm32f103xb.s
  791. At line 147 in file startup_stm32f103xb.s
  792. SPI1_IRQHandler 0000001A
  793. Symbol: SPI1_IRQHandler
  794. Definitions
  795. At line 281 in file startup_stm32f103xb.s
  796. Uses
  797. At line 131 in file startup_stm32f103xb.s
  798. At line 237 in file startup_stm32f103xb.s
  799. SPI2_IRQHandler 0000001A
  800. Symbol: SPI2_IRQHandler
  801. Definitions
  802. At line 282 in file startup_stm32f103xb.s
  803. Uses
  804. At line 132 in file startup_stm32f103xb.s
  805. At line 238 in file startup_stm32f103xb.s
  806. SVC_Handler 00000012
  807. Symbol: SVC_Handler
  808. Definitions
  809. At line 182 in file startup_stm32f103xb.s
  810. Uses
  811. At line 89 in file startup_stm32f103xb.s
  812. At line 183 in file startup_stm32f103xb.s
  813. SysTick_Handler 00000018
  814. Symbol: SysTick_Handler
  815. Definitions
  816. At line 195 in file startup_stm32f103xb.s
  817. Uses
  818. At line 93 in file startup_stm32f103xb.s
  819. At line 196 in file startup_stm32f103xb.s
  820. TAMPER_IRQHandler 0000001A
  821. Symbol: TAMPER_IRQHandler
  822. Definitions
  823. At line 248 in file startup_stm32f103xb.s
  824. ARM Macro Assembler Page 7 Alphabetic symbol ordering
  825. Relocatable symbols
  826. Uses
  827. At line 98 in file startup_stm32f103xb.s
  828. At line 204 in file startup_stm32f103xb.s
  829. TIM1_BRK_IRQHandler 0000001A
  830. Symbol: TIM1_BRK_IRQHandler
  831. Definitions
  832. At line 270 in file startup_stm32f103xb.s
  833. Uses
  834. At line 120 in file startup_stm32f103xb.s
  835. At line 226 in file startup_stm32f103xb.s
  836. TIM1_CC_IRQHandler 0000001A
  837. Symbol: TIM1_CC_IRQHandler
  838. Definitions
  839. At line 273 in file startup_stm32f103xb.s
  840. Uses
  841. At line 123 in file startup_stm32f103xb.s
  842. At line 229 in file startup_stm32f103xb.s
  843. TIM1_TRG_COM_IRQHandler 0000001A
  844. Symbol: TIM1_TRG_COM_IRQHandler
  845. Definitions
  846. At line 272 in file startup_stm32f103xb.s
  847. Uses
  848. At line 122 in file startup_stm32f103xb.s
  849. At line 228 in file startup_stm32f103xb.s
  850. TIM1_UP_IRQHandler 0000001A
  851. Symbol: TIM1_UP_IRQHandler
  852. Definitions
  853. At line 271 in file startup_stm32f103xb.s
  854. Uses
  855. At line 121 in file startup_stm32f103xb.s
  856. At line 227 in file startup_stm32f103xb.s
  857. TIM2_IRQHandler 0000001A
  858. Symbol: TIM2_IRQHandler
  859. Definitions
  860. At line 274 in file startup_stm32f103xb.s
  861. Uses
  862. At line 124 in file startup_stm32f103xb.s
  863. At line 230 in file startup_stm32f103xb.s
  864. TIM3_IRQHandler 0000001A
  865. Symbol: TIM3_IRQHandler
  866. Definitions
  867. At line 275 in file startup_stm32f103xb.s
  868. Uses
  869. At line 125 in file startup_stm32f103xb.s
  870. At line 231 in file startup_stm32f103xb.s
  871. TIM4_IRQHandler 0000001A
  872. ARM Macro Assembler Page 8 Alphabetic symbol ordering
  873. Relocatable symbols
  874. Symbol: TIM4_IRQHandler
  875. Definitions
  876. At line 276 in file startup_stm32f103xb.s
  877. Uses
  878. At line 126 in file startup_stm32f103xb.s
  879. At line 232 in file startup_stm32f103xb.s
  880. USART1_IRQHandler 0000001A
  881. Symbol: USART1_IRQHandler
  882. Definitions
  883. At line 283 in file startup_stm32f103xb.s
  884. Uses
  885. At line 133 in file startup_stm32f103xb.s
  886. At line 239 in file startup_stm32f103xb.s
  887. USART2_IRQHandler 0000001A
  888. Symbol: USART2_IRQHandler
  889. Definitions
  890. At line 284 in file startup_stm32f103xb.s
  891. Uses
  892. At line 134 in file startup_stm32f103xb.s
  893. At line 240 in file startup_stm32f103xb.s
  894. USART3_IRQHandler 0000001A
  895. Symbol: USART3_IRQHandler
  896. Definitions
  897. At line 285 in file startup_stm32f103xb.s
  898. Uses
  899. At line 135 in file startup_stm32f103xb.s
  900. At line 241 in file startup_stm32f103xb.s
  901. USBWakeUp_IRQHandler 0000001A
  902. Symbol: USBWakeUp_IRQHandler
  903. Definitions
  904. At line 288 in file startup_stm32f103xb.s
  905. Uses
  906. At line 138 in file startup_stm32f103xb.s
  907. At line 244 in file startup_stm32f103xb.s
  908. USB_HP_CAN1_TX_IRQHandler 0000001A
  909. Symbol: USB_HP_CAN1_TX_IRQHandler
  910. Definitions
  911. At line 265 in file startup_stm32f103xb.s
  912. Uses
  913. At line 115 in file startup_stm32f103xb.s
  914. At line 221 in file startup_stm32f103xb.s
  915. USB_LP_CAN1_RX0_IRQHandler 0000001A
  916. Symbol: USB_LP_CAN1_RX0_IRQHandler
  917. Definitions
  918. At line 266 in file startup_stm32f103xb.s
  919. Uses
  920. ARM Macro Assembler Page 9 Alphabetic symbol ordering
  921. Relocatable symbols
  922. At line 116 in file startup_stm32f103xb.s
  923. At line 222 in file startup_stm32f103xb.s
  924. UsageFault_Handler 00000010
  925. Symbol: UsageFault_Handler
  926. Definitions
  927. At line 178 in file startup_stm32f103xb.s
  928. Uses
  929. At line 84 in file startup_stm32f103xb.s
  930. At line 179 in file startup_stm32f103xb.s
  931. WWDG_IRQHandler 0000001A
  932. Symbol: WWDG_IRQHandler
  933. Definitions
  934. At line 246 in file startup_stm32f103xb.s
  935. Uses
  936. At line 96 in file startup_stm32f103xb.s
  937. At line 202 in file startup_stm32f103xb.s
  938. 55 symbols
  939. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  940. Absolute symbols
  941. Heap_Size 00002000
  942. Symbol: Heap_Size
  943. Definitions
  944. At line 61 in file startup_stm32f103xb.s
  945. Uses
  946. At line 65 in file startup_stm32f103xb.s
  947. Comment: Heap_Size used once
  948. Stack_Size 00000400
  949. Symbol: Stack_Size
  950. Definitions
  951. At line 50 in file startup_stm32f103xb.s
  952. Uses
  953. At line 53 in file startup_stm32f103xb.s
  954. Comment: Stack_Size used once
  955. __Vectors_Size 000000EC
  956. Symbol: __Vectors_Size
  957. Definitions
  958. At line 141 in file startup_stm32f103xb.s
  959. Uses
  960. At line 76 in file startup_stm32f103xb.s
  961. Comment: __Vectors_Size used once
  962. 3 symbols
  963. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  964. External symbols
  965. SystemInit 00000000
  966. Symbol: SystemInit
  967. Definitions
  968. At line 149 in file startup_stm32f103xb.s
  969. Uses
  970. At line 150 in file startup_stm32f103xb.s
  971. Comment: SystemInit used once
  972. __main 00000000
  973. Symbol: __main
  974. Definitions
  975. At line 148 in file startup_stm32f103xb.s
  976. Uses
  977. At line 152 in file startup_stm32f103xb.s
  978. Comment: __main used once
  979. 2 symbols
  980. 406 symbols in table