


ARM Macro Assembler    Page 1 


    1 00000000         ;/******************************************************
                       ***********************/
    2 00000000         ;/* STM32F10x.s: Startup file for ARM Cortex-M1 Device F
                       amily                 */
    3 00000000         ;/******************************************************
                       ***********************/
    4 00000000         ;/* <<< Use Configuration Wizard in Context Menu >>>    
                                             */
    5 00000000         ;/******************************************************
                       ***********************/
    6 00000000         ;/* This file is part of the uVision/ARM development too
                       ls.                   */
    7 00000000         ;/* Copyright (c) 2005-2008 Keil Software. All rights re
                       served.               */
    8 00000000         ;/* This software may only be used under the terms of a 
                       valid, current,       */
    9 00000000         ;/* end user licence from KEIL for a compatible version 
                       of KEIL software      */
   10 00000000         ;/* development tools. Nothing else gives you the right 
                       to use this software. */
   11 00000000         ;/******************************************************
                       ***********************/
   12 00000000         
   13 00000000         
   14 00000000         ;// <h> Stack Configuration
   15 00000000         ;//   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
   16 00000000         ;// </h>
   17 00000000         
   18 00000000 00001000 
                       Stack_Size
                               EQU              0x00001000
   19 00000000         
   20 00000000                 AREA             STACK, NOINIT, READWRITE, ALIGN
=3
   21 00000000         Stack_Mem
                               SPACE            Stack_Size
   22 00001000         __initial_sp
   23 00001000         
   24 00001000         
   25 00001000         ;// <h> Heap Configuration
   26 00001000         ;//   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
   27 00001000         ;// </h>
   28 00001000         
   29 00001000 00001000 
                       Heap_Size
                               EQU              0x00001000
   30 00001000         
   31 00001000                 AREA             HEAP, NOINIT, READWRITE, ALIGN=
3
   32 00000000         __heap_base
   33 00000000         Heap_Mem
                               SPACE            Heap_Size
   34 00001000         __heap_limit
   35 00001000         
   36 00001000         
   37 00001000                 PRESERVE8
   38 00001000                 THUMB
   39 00001000         
   40 00001000         



ARM Macro Assembler    Page 2 


   41 00001000         ; Vector Table Mapped to Address 0 at Reset
   42 00001000         
   43 00001000                 AREA             RESET, DATA, READONLY
   44 00000000                 EXPORT           __Vectors
   45 00000000         
   46 00000000 00000000 
                       __Vectors
                               DCD              __initial_sp ; Top of Stack
   47 00000004 00000000        DCD              Reset_Handler ; Reset Handler
   48 00000008 00000000        DCD              NMI_Handler ; NMI Handler
   49 0000000C 00000000        DCD              HardFault_Handler ; Hard Fault 
                                                            Handler
   50 00000010 00000000        DCD              0           ; Reserved
   51 00000014 00000000        DCD              0           ; Reserved
   52 00000018 00000000        DCD              0           ; Reserved
   53 0000001C 00000000        DCD              0           ; Reserved
   54 00000020 00000000        DCD              0           ; Reserved
   55 00000024 00000000        DCD              0           ; Reserved
   56 00000028 00000000        DCD              0           ; Reserved
   57 0000002C 00000000        DCD              SVC_Handler ; SVCall Handler
   58 00000030 00000000        DCD              0           ; Reserved
   59 00000034 00000000        DCD              0           ; Reserved
   60 00000038 00000000        DCD              PendSV_Handler ; PendSV Handler
                                                            
   61 0000003C 00000000        DCD              SysTick_Handler 
                                                            ; SysTick Handler
   62 00000040         
   63 00000040         ; External Interrupts
   64 00000040 00000000        DCD              0           ;IRQ0
   65 00000044 00000000        DCD              0           ;IRQ1
   66 00000048 00000000        DCD              0           ;IRQ2
   67 0000004C 00000000        DCD              0           ;IRQ3
   68 00000050 00000000        DCD              0           ;IRQ4
   69 00000054 00000000        DCD              0           ;IRQ5
   70 00000058 00000000        DCD              0           ;IRQ6
   71 0000005C 00000000        DCD              0           ;IRQ7
   72 00000060 00000000        DCD              0           ;IRQ8
   73 00000064 00000000        DCD              0           ;IRQ9
   74 00000068 00000000        DCD              0           ;IRQ10
   75 0000006C 00000000        DCD              0           ;IRQ11
   76 00000070 00000000        DCD              0           ;IRQ12
   77 00000074 00000000        DCD              0           ;IRQ13
   78 00000078 00000000        DCD              0           ;IRQ14
   79 0000007C 00000000        DCD              0           ;IRQ15
   80 00000080 00000000        DCD              0           ;IRQ16
   81 00000084 00000000        DCD              0           ;IRQ17
   82 00000088 00000000        DCD              0           ;IRQ18
   83 0000008C 00000000        DCD              0           ;IRQ19
   84 00000090 00000000        DCD              0           ;IRQ20
   85 00000094 00000000        DCD              0           ;IRQ21
   86 00000098 00000000        DCD              0           ;IRQ22
   87 0000009C 00000000        DCD              0           ;IRQ23
   88 000000A0 00000000        DCD              0           ;IRQ24
   89 000000A4 00000000        DCD              0           ;IRQ25
   90 000000A8 00000000        DCD              0           ;IRQ26
   91 000000AC 00000000        DCD              BKP_Handler ;IRQ27
   92 000000B0         
   93 000000B0                 AREA             |.text|, CODE, READONLY
   94 00000000         



ARM Macro Assembler    Page 3 


   95 00000000         
   96 00000000         ; Reset Handler
   97 00000000         
   98 00000000         Reset_Handler
                               PROC
   99 00000000                 EXPORT           Reset_Handler   [WEAK]
  100 00000000                 IMPORT           __main
  101 00000000 4807            LDR              R0,=__main
  102 00000002         ;MOVS  R0,#0x20
  103 00000002         ;LSLS  R0,#24
  104 00000002 4700            BX               R0
  105 00000004                 ENDP
  106 00000004         
  107 00000004         
  108 00000004         ; Dummy Exception Handlers (infinite loops which can be 
                       modified)                
  109 00000004         
  110 00000004         NMI_Handler
                               PROC
  111 00000004                 EXPORT           NMI_Handler    [WEAK]
  112 00000004 E7FE            B                .
  113 00000006                 ENDP
  115 00000006         HardFault_Handler
                               PROC
  116 00000006                 EXPORT           HardFault_Handler  [WEAK]
  117 00000006 E7FE            B                .
  118 00000008                 ENDP
  119 00000008         SVC_Handler
                               PROC
  120 00000008                 EXPORT           SVC_Handler    [WEAK]
  121 00000008 E7FE            B                .
  122 0000000A                 ENDP
  123 0000000A         
  124 0000000A         PendSV_Handler
                               PROC
  125 0000000A                 EXPORT           PendSV_Handler   [WEAK]
  126 0000000A E7FE            B                .
  127 0000000C                 ENDP
  128 0000000C         
  129 0000000C         SysTick_Handler
                               PROC
  130 0000000C                 EXPORT           SysTick_Handler   [WEAK]
  131 0000000C E7FE            B                .
  132 0000000E                 ENDP
  133 0000000E         
  134 0000000E         IRQ_Handler
                               PROC
  135 0000000E                 EXPORT           IRQ_Handler    [WEAK]
  136 0000000E E7FE            B                .
  137 00000010                 ENDP
  138 00000010         
  139 00000010         BKP_Handler
                               PROC
  140 00000010                 EXPORT           BKP_Handler    [WEAK]
  141 00000010 E7FE            B                .
  142 00000012                 ENDP
  143 00000012         
  144 00000012         Default_Handler
                               PROC



ARM Macro Assembler    Page 4 


  145 00000012                 EXPORT           SDIRQ_Handler   [WEAK]
  146 00000012         SDIRQ_Handler
  147 00000012                 ENDP
  148 00000012         
  149 00000012         
  150 00000012         
  151 00000012 00 00           ALIGN
  152 00000014         
  153 00000014         
  154 00000014         
  155 00000014         ; User Initial Stack & Heap
  156 00000014         
  157 00000014                 IF               :DEF:__MICROLIB
  164 00000014         
  165 00000014                 IMPORT           __use_two_region_memory
  166 00000014                 EXPORT           __user_initial_stackheap
  167 00000014         __user_initial_stackheap
  168 00000014         
  169 00000014 4803            LDR              R0, =  Heap_Mem
  170 00000016 4904            LDR              R1, =(Stack_Mem + Stack_Size)
  171 00000018 4A04            LDR              R2, = (Heap_Mem +  Heap_Size)
  172 0000001A 4B05            LDR              R3, = Stack_Mem
  173 0000001C 4770            BX               LR
  174 0000001E         
  175 0000001E 00 00           ALIGN
  176 00000020         
  177 00000020                 ENDIF
  178 00000020         
  179 00000020         
  180 00000020                 END
              00000000 
              00000000 
              00001000 
              00001000 
              00000000 
Command Line: --debug --xref --cpu=Cortex-M1 --apcs=interwork --depend=Startup.
d -oStartup.o -IC:\Keil4\ARM\INC -IC:\Keil4\ARM\INC\ARM --list=.\Startup.lst sr
c\Startup.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

STACK 00000000

Symbol: STACK
   Definitions
      At line 20 in file src\Startup.s
   Uses
      None
Comment: STACK unused
Stack_Mem 00000000

Symbol: Stack_Mem
   Definitions
      At line 21 in file src\Startup.s
   Uses
      At line 170 in file src\Startup.s
      At line 172 in file src\Startup.s

__initial_sp 00001000

Symbol: __initial_sp
   Definitions
      At line 22 in file src\Startup.s
   Uses
      At line 46 in file src\Startup.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 31 in file src\Startup.s
   Uses
      None
Comment: HEAP unused
Heap_Mem 00000000

Symbol: Heap_Mem
   Definitions
      At line 33 in file src\Startup.s
   Uses
      At line 169 in file src\Startup.s
      At line 171 in file src\Startup.s

__heap_base 00000000

Symbol: __heap_base
   Definitions
      At line 32 in file src\Startup.s
   Uses
      None
Comment: __heap_base unused
__heap_limit 00001000

Symbol: __heap_limit
   Definitions
      At line 34 in file src\Startup.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 43 in file src\Startup.s
   Uses
      None
Comment: RESET unused
__Vectors 00000000

Symbol: __Vectors
   Definitions
      At line 46 in file src\Startup.s
   Uses
      At line 44 in file src\Startup.s
Comment: __Vectors used once
2 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.text 00000000

Symbol: .text
   Definitions
      At line 93 in file src\Startup.s
   Uses
      None
Comment: .text unused
BKP_Handler 00000010

Symbol: BKP_Handler
   Definitions
      At line 139 in file src\Startup.s
   Uses
      At line 91 in file src\Startup.s
      At line 140 in file src\Startup.s

Default_Handler 00000012

Symbol: Default_Handler
   Definitions
      At line 144 in file src\Startup.s
   Uses
      None
Comment: Default_Handler unused
HardFault_Handler 00000006

Symbol: HardFault_Handler
   Definitions
      At line 115 in file src\Startup.s
   Uses
      At line 49 in file src\Startup.s
      At line 116 in file src\Startup.s

IRQ_Handler 0000000E

Symbol: IRQ_Handler
   Definitions
      At line 134 in file src\Startup.s
   Uses
      At line 135 in file src\Startup.s
Comment: IRQ_Handler used once
NMI_Handler 00000004

Symbol: NMI_Handler
   Definitions
      At line 110 in file src\Startup.s
   Uses
      At line 48 in file src\Startup.s
      At line 111 in file src\Startup.s

PendSV_Handler 0000000A

Symbol: PendSV_Handler
   Definitions
      At line 124 in file src\Startup.s
   Uses
      At line 60 in file src\Startup.s
      At line 125 in file src\Startup.s



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols


Reset_Handler 00000000

Symbol: Reset_Handler
   Definitions
      At line 98 in file src\Startup.s
   Uses
      At line 47 in file src\Startup.s
      At line 99 in file src\Startup.s

SDIRQ_Handler 00000012

Symbol: SDIRQ_Handler
   Definitions
      At line 146 in file src\Startup.s
   Uses
      At line 145 in file src\Startup.s
Comment: SDIRQ_Handler used once
SVC_Handler 00000008

Symbol: SVC_Handler
   Definitions
      At line 119 in file src\Startup.s
   Uses
      At line 57 in file src\Startup.s
      At line 120 in file src\Startup.s

SysTick_Handler 0000000C

Symbol: SysTick_Handler
   Definitions
      At line 129 in file src\Startup.s
   Uses
      At line 61 in file src\Startup.s
      At line 130 in file src\Startup.s

__user_initial_stackheap 00000014

Symbol: __user_initial_stackheap
   Definitions
      At line 167 in file src\Startup.s
   Uses
      At line 166 in file src\Startup.s
Comment: __user_initial_stackheap used once
12 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Absolute symbols

Heap_Size 00001000

Symbol: Heap_Size
   Definitions
      At line 29 in file src\Startup.s
   Uses
      At line 33 in file src\Startup.s
      At line 171 in file src\Startup.s

Stack_Size 00001000

Symbol: Stack_Size
   Definitions
      At line 18 in file src\Startup.s
   Uses
      At line 21 in file src\Startup.s
      At line 170 in file src\Startup.s

2 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols

__main 00000000

Symbol: __main
   Definitions
      At line 100 in file src\Startup.s
   Uses
      At line 101 in file src\Startup.s
Comment: __main used once
__use_two_region_memory 00000000

Symbol: __use_two_region_memory
   Definitions
      At line 165 in file src\Startup.s
   Uses
      None
Comment: __use_two_region_memory unused
2 symbols
352 symbols in table
