ARM Macro Assembler Page 1 1 00000000 ;/****************************************************** *****************************************/ 2 00000000 ;/** 3 00000000 ;* @file startup_ciu32f003.s 4 00000000 ;* @author MCU Ecosystem Development Team 5 00000000 ;* @brief CMSIS Cortex-M0+ Core Device Sta rtup File for CIU32F003. 6 00000000 ;* 7 00000000 ;* 8 00000000 ;******************************************************* ****************************************** 9 00000000 ;* @attention 10 00000000 ;* Copyright (c) CEC Huada Electronic Design Co.,Ltd. Al l rights reserved. 11 00000000 ;* 12 00000000 ;******************************************************* ****************************************** 13 00000000 ;*/ 14 00000000 15 00000000 ;/* 16 00000000 ;//-------- <<< Use Configuration Wizard in Context Menu >>> ------------------ 17 00000000 ;*/ 18 00000000 19 00000000 20 00000000 ; Stack Configuration 21 00000000 ; Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> 22 00000000 ; 23 00000000 24 00000000 00000200 Stack_Size EQU 0x00000200 25 00000000 26 00000000 AREA STACK, NOINIT, READWRITE, ALIGN =3 27 00000000 Stack_Mem SPACE Stack_Size 28 00000200 __initial_sp 29 00000200 30 00000200 31 00000200 ; Heap Configuration 32 00000200 ; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> 33 00000200 ; 34 00000200 35 00000200 00000000 Heap_Size EQU 0x00000000 36 00000200 37 00000200 AREA HEAP, NOINIT, READWRITE, ALIGN= 3 38 00000000 __heap_base 39 00000000 Heap_Mem SPACE Heap_Size 40 00000000 __heap_limit 41 00000000 42 00000000 43 00000000 PRESERVE8 44 00000000 THUMB 45 00000000 ARM Macro Assembler Page 2 46 00000000 47 00000000 ; Vector Table Mapped to Address 0 at Reset 48 00000000 AREA RESET, DATA, READONLY 49 00000000 EXPORT __vector_table 50 00000000 EXPORT __vectors_End 51 00000000 EXPORT __vectors_Size 52 00000000 53 00000000 00000000 __vector_table DCD __initial_sp ; Top of Stack 54 00000004 00000000 DCD Reset_Handler ; Reset Handler 55 00000008 00000000 DCD NMI_Handler ; NMI Handler 56 0000000C 00000000 DCD HardFault_Handler ; Hard Fault Handler 57 00000010 00000000 DCD 0 ; Reserved 58 00000014 00000000 DCD 0 ; Reserved 59 00000018 00000000 DCD 0 ; Reserved 60 0000001C 00000000 DCD 0 ; Reserved 61 00000020 00000000 DCD 0 ; Reserved 62 00000024 00000000 DCD 0 ; Reserved 63 00000028 00000000 DCD 0 ; Reserved 64 0000002C 00000000 DCD SVC_Handler ; SVCall Handler 65 00000030 00000000 DCD 0 ; Reserved 66 00000034 00000000 DCD 0 ; Reserved 67 00000038 00000000 DCD PendSV_Handler ; PendSV Handler 68 0000003C 00000000 DCD SysTick_Handler ; SysTick Handler 69 00000040 70 00000040 ; Interrupts 71 00000040 00000000 DCD 0 ; Reserved 72 00000044 00000000 DCD 0 ; Reserved 73 00000048 00000000 DCD 0 ; Reserved 74 0000004C 00000000 DCD FLASH_IRQHandler ; FLASH 75 00000050 00000000 DCD RCC_IRQHandler ; RCC 76 00000054 00000000 DCD EXTI0_1_IRQHandler ; EXTI Line 0 & 1 77 00000058 00000000 DCD EXTI2_3_IRQHandler ; EXTI Line 2 & 3 78 0000005C 00000000 DCD EXTI4_7_IRQHandler ; EXTI Line 4 to 7 79 00000060 00000000 DCD 0 ; Reserved 80 00000064 00000000 DCD 0 ; Reserved 81 00000068 00000000 DCD 0 ; Reserved 82 0000006C 00000000 DCD 0 ; Reserved 83 00000070 00000000 DCD ADC_COMP_IRQHandler ; ADC & COMP1/2 84 00000074 00000000 DCD TIM1_BRK_UP_TRG_COM_IRQHandler ; TIM1 Break, Updat e, Trigger and COM Event 85 00000078 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu re Compare 86 0000007C 00000000 DCD TIM3_IRQHandler ; TIM3 87 00000080 00000000 DCD 0 ; Reserved 88 00000084 00000000 DCD 0 ; Reserved 89 00000088 00000000 DCD 0 ; Reserved ARM Macro Assembler Page 3 90 0000008C 00000000 DCD 0 ; Reserved 91 00000090 00000000 DCD LPTIM1_IRQHandler ; LPTIM1 92 00000094 00000000 DCD I2C1_IRQHandler ; I2C1 93 00000098 00000000 DCD 0 ; Reserved 94 0000009C 00000000 DCD SPI1_IRQHandler ; SPI1 95 000000A0 00000000 DCD 0 ; Reserved 96 000000A4 00000000 DCD UART1_IRQHandler ; UART1 97 000000A8 00000000 DCD UART2_IRQHandler ; UART2 98 000000AC 00000000 DCD 0 ; Reserved 99 000000B0 00000000 DCD 0 ; Reserved 100 000000B4 00000000 DCD 0 ; Reserved 101 000000B8 00000000 DCD 0 ; Reserved 102 000000BC 00000000 DCD 0 ; Reserved 103 000000C0 104 000000C0 __vectors_End 105 000000C0 106 000000C0 000000C0 __vectors_Size EQU __vectors_End - __vector_table 107 000000C0 108 000000C0 AREA |.text|, CODE, READONLY 109 00000000 110 00000000 ; Reset Handler 111 00000000 Reset_Handler PROC 112 00000000 EXPORT Reset_Handler [ WEAK] 113 00000000 IMPORT SystemInit 114 00000000 IMPORT __main 115 00000000 116 00000000 4804 LDR R0, =SystemInit 117 00000002 4780 BLX R0 118 00000004 4804 LDR R0, =__main 119 00000006 4700 BX R0 120 00000008 ENDP 121 00000008 122 00000008 ; Dummy Exception Handlers (infinite loops which can be modified) 123 00000008 124 00000008 NMI_Handler PROC 125 00000008 EXPORT NMI_Handler [WEAK] 126 00000008 E7FE B . 127 0000000A ENDP 129 0000000A HardFault_Handler PROC 130 0000000A EXPORT HardFault_Handler [WEAK] 131 0000000A E7FE B . 132 0000000C ENDP 133 0000000C SVC_Handler PROC 134 0000000C EXPORT SVC_Handler [WEAK] 135 0000000C E7FE B . 136 0000000E ENDP 137 0000000E PendSV_Handler ARM Macro Assembler Page 4 PROC 138 0000000E EXPORT PendSV_Handler [WEAK] 139 0000000E E7FE B . 140 00000010 ENDP 141 00000010 SysTick_Handler PROC 142 00000010 EXPORT SysTick_Handler [WEAK] 143 00000010 E7FE B . 144 00000012 ENDP 145 00000012 146 00000012 Default_Handler PROC 147 00000012 148 00000012 EXPORT FLASH_IRQHandler [WEAK] 149 00000012 EXPORT RCC_IRQHandler [WEAK] 150 00000012 EXPORT EXTI0_1_IRQHandler [WEAK] 151 00000012 EXPORT EXTI2_3_IRQHandler [WEAK] 152 00000012 EXPORT EXTI4_7_IRQHandler [WEAK] 153 00000012 EXPORT ADC_COMP_IRQHandler [WEAK] 154 00000012 EXPORT TIM1_BRK_UP_TRG_COM_IRQHandler [WEAK] 155 00000012 EXPORT TIM1_CC_IRQHandler [WEAK] 156 00000012 EXPORT TIM3_IRQHandler [WEAK] 157 00000012 EXPORT LPTIM1_IRQHandler [WEAK] 158 00000012 EXPORT I2C1_IRQHandler [WEAK] 159 00000012 EXPORT SPI1_IRQHandler [WEAK] 160 00000012 EXPORT UART1_IRQHandler [WEAK] 161 00000012 EXPORT UART2_IRQHandler [WEAK] 162 00000012 163 00000012 164 00000012 FLASH_IRQHandler 165 00000012 RCC_IRQHandler 166 00000012 EXTI0_1_IRQHandler 167 00000012 EXTI2_3_IRQHandler 168 00000012 EXTI4_7_IRQHandler 169 00000012 ADC_COMP_IRQHandler 170 00000012 TIM1_BRK_UP_TRG_COM_IRQHandler 171 00000012 TIM1_CC_IRQHandler 172 00000012 TIM3_IRQHandler 173 00000012 LPTIM1_IRQHandler 174 00000012 I2C1_IRQHandler 175 00000012 SPI1_IRQHandler 176 00000012 UART1_IRQHandler 177 00000012 UART2_IRQHandler ARM Macro Assembler Page 5 178 00000012 179 00000012 E7FE B . 180 00000014 181 00000014 ENDP 182 00000014 183 00000014 ALIGN 184 00000014 185 00000014 186 00000014 ; User Initial Stack & Heap 187 00000014 188 00000014 IF :DEF:__MICROLIB 189 00000014 190 00000014 EXPORT __initial_sp 191 00000014 EXPORT __heap_base 192 00000014 EXPORT __heap_limit 193 00000014 194 00000014 ELSE 209 ENDIF 210 00000014 211 00000014 212 00000014 END 00000000 00000000 Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0+ --apcs=inter work --depend=.\objects\startup_ciu32f003.d -o.\objects\startup_ciu32f003.o -ID :\keil_V5_pack\HED\CIU32F003_DFP\1.0.0\Drivers\CMSIS\Device\CIU32F003\Include - Id:\Keil_v5\ARM\CMSIS\Include --predefine="__MICROLIB SETA 1" --predefine="__UV ISION_VERSION SETA 531" --predefine="CIU32F003 SETA 1" --list=.\listings\startu p_ciu32f003.lst ..\Startup\arm\startup_ciu32f003.s ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols STACK 00000000 Symbol: STACK Definitions At line 26 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: STACK unused Stack_Mem 00000000 Symbol: Stack_Mem Definitions At line 27 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: Stack_Mem unused __initial_sp 00000200 Symbol: __initial_sp Definitions At line 28 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 53 in file ..\Startup\arm\startup_ciu32f003.s At line 190 in file ..\Startup\arm\startup_ciu32f003.s 3 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols HEAP 00000000 Symbol: HEAP Definitions At line 37 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: HEAP unused Heap_Mem 00000000 Symbol: Heap_Mem Definitions At line 39 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: Heap_Mem unused __heap_base 00000000 Symbol: __heap_base Definitions At line 38 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 191 in file ..\Startup\arm\startup_ciu32f003.s Comment: __heap_base used once __heap_limit 00000000 Symbol: __heap_limit Definitions At line 40 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 192 in file ..\Startup\arm\startup_ciu32f003.s Comment: __heap_limit used once 4 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols RESET 00000000 Symbol: RESET Definitions At line 48 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: RESET unused __vector_table 00000000 Symbol: __vector_table Definitions At line 53 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 49 in file ..\Startup\arm\startup_ciu32f003.s At line 106 in file ..\Startup\arm\startup_ciu32f003.s __vectors_End 000000C0 Symbol: __vectors_End Definitions At line 104 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 50 in file ..\Startup\arm\startup_ciu32f003.s At line 106 in file ..\Startup\arm\startup_ciu32f003.s 3 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols .text 00000000 Symbol: .text Definitions At line 108 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: .text unused ADC_COMP_IRQHandler 00000012 Symbol: ADC_COMP_IRQHandler Definitions At line 169 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 83 in file ..\Startup\arm\startup_ciu32f003.s At line 153 in file ..\Startup\arm\startup_ciu32f003.s Default_Handler 00000012 Symbol: Default_Handler Definitions At line 146 in file ..\Startup\arm\startup_ciu32f003.s Uses None Comment: Default_Handler unused EXTI0_1_IRQHandler 00000012 Symbol: EXTI0_1_IRQHandler Definitions At line 166 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 76 in file ..\Startup\arm\startup_ciu32f003.s At line 150 in file ..\Startup\arm\startup_ciu32f003.s EXTI2_3_IRQHandler 00000012 Symbol: EXTI2_3_IRQHandler Definitions At line 167 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 77 in file ..\Startup\arm\startup_ciu32f003.s At line 151 in file ..\Startup\arm\startup_ciu32f003.s EXTI4_7_IRQHandler 00000012 Symbol: EXTI4_7_IRQHandler Definitions At line 168 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 78 in file ..\Startup\arm\startup_ciu32f003.s At line 152 in file ..\Startup\arm\startup_ciu32f003.s FLASH_IRQHandler 00000012 Symbol: FLASH_IRQHandler Definitions At line 164 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 74 in file ..\Startup\arm\startup_ciu32f003.s ARM Macro Assembler Page 2 Alphabetic symbol ordering Relocatable symbols At line 148 in file ..\Startup\arm\startup_ciu32f003.s HardFault_Handler 0000000A Symbol: HardFault_Handler Definitions At line 129 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 56 in file ..\Startup\arm\startup_ciu32f003.s At line 130 in file ..\Startup\arm\startup_ciu32f003.s I2C1_IRQHandler 00000012 Symbol: I2C1_IRQHandler Definitions At line 174 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 92 in file ..\Startup\arm\startup_ciu32f003.s At line 158 in file ..\Startup\arm\startup_ciu32f003.s LPTIM1_IRQHandler 00000012 Symbol: LPTIM1_IRQHandler Definitions At line 173 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 91 in file ..\Startup\arm\startup_ciu32f003.s At line 157 in file ..\Startup\arm\startup_ciu32f003.s NMI_Handler 00000008 Symbol: NMI_Handler Definitions At line 124 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 55 in file ..\Startup\arm\startup_ciu32f003.s At line 125 in file ..\Startup\arm\startup_ciu32f003.s PendSV_Handler 0000000E Symbol: PendSV_Handler Definitions At line 137 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 67 in file ..\Startup\arm\startup_ciu32f003.s At line 138 in file ..\Startup\arm\startup_ciu32f003.s RCC_IRQHandler 00000012 Symbol: RCC_IRQHandler Definitions At line 165 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 75 in file ..\Startup\arm\startup_ciu32f003.s At line 149 in file ..\Startup\arm\startup_ciu32f003.s Reset_Handler 00000000 Symbol: Reset_Handler ARM Macro Assembler Page 3 Alphabetic symbol ordering Relocatable symbols Definitions At line 111 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 54 in file ..\Startup\arm\startup_ciu32f003.s At line 112 in file ..\Startup\arm\startup_ciu32f003.s SPI1_IRQHandler 00000012 Symbol: SPI1_IRQHandler Definitions At line 175 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 94 in file ..\Startup\arm\startup_ciu32f003.s At line 159 in file ..\Startup\arm\startup_ciu32f003.s SVC_Handler 0000000C Symbol: SVC_Handler Definitions At line 133 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 64 in file ..\Startup\arm\startup_ciu32f003.s At line 134 in file ..\Startup\arm\startup_ciu32f003.s SysTick_Handler 00000010 Symbol: SysTick_Handler Definitions At line 141 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 68 in file ..\Startup\arm\startup_ciu32f003.s At line 142 in file ..\Startup\arm\startup_ciu32f003.s TIM1_BRK_UP_TRG_COM_IRQHandler 00000012 Symbol: TIM1_BRK_UP_TRG_COM_IRQHandler Definitions At line 170 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 84 in file ..\Startup\arm\startup_ciu32f003.s At line 154 in file ..\Startup\arm\startup_ciu32f003.s TIM1_CC_IRQHandler 00000012 Symbol: TIM1_CC_IRQHandler Definitions At line 171 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 85 in file ..\Startup\arm\startup_ciu32f003.s At line 155 in file ..\Startup\arm\startup_ciu32f003.s TIM3_IRQHandler 00000012 Symbol: TIM3_IRQHandler Definitions At line 172 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 86 in file ..\Startup\arm\startup_ciu32f003.s At line 156 in file ..\Startup\arm\startup_ciu32f003.s ARM Macro Assembler Page 4 Alphabetic symbol ordering Relocatable symbols UART1_IRQHandler 00000012 Symbol: UART1_IRQHandler Definitions At line 176 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 96 in file ..\Startup\arm\startup_ciu32f003.s At line 160 in file ..\Startup\arm\startup_ciu32f003.s UART2_IRQHandler 00000012 Symbol: UART2_IRQHandler Definitions At line 177 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 97 in file ..\Startup\arm\startup_ciu32f003.s At line 161 in file ..\Startup\arm\startup_ciu32f003.s 22 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Absolute symbols Heap_Size 00000000 Symbol: Heap_Size Definitions At line 35 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 39 in file ..\Startup\arm\startup_ciu32f003.s Comment: Heap_Size used once Stack_Size 00000200 Symbol: Stack_Size Definitions At line 24 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 27 in file ..\Startup\arm\startup_ciu32f003.s Comment: Stack_Size used once __vectors_Size 000000C0 Symbol: __vectors_Size Definitions At line 106 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 51 in file ..\Startup\arm\startup_ciu32f003.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 113 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 116 in file ..\Startup\arm\startup_ciu32f003.s Comment: SystemInit used once __main 00000000 Symbol: __main Definitions At line 114 in file ..\Startup\arm\startup_ciu32f003.s Uses At line 118 in file ..\Startup\arm\startup_ciu32f003.s Comment: __main used once 2 symbols 372 symbols in table