ARM Macro Assembler    Page 1 


    1 00000000         #line   1                "..\\..\\..\\os\\ports\\RVCT\\A
RMCMx\\cstartup.s"
    1 00000000         
    2 00000000         
    3 00000000         
    4 00000000         
    5 00000000         
    6 00000000         
    7 00000000         
    8 00000000         
    9 00000000         
   10 00000000         
   11 00000000         
   12 00000000         
   13 00000000         
   14 00000000         
   15 00000000         
   16 00000000         
   17 00000000         
   18 00000000         
   19 00000000         
   20 00000000         
   21 00000000         ; 
   22 00000000         
   23 00000000         ;
   24 00000000         ;
   25 00000000         ;
   26 00000000 00000400 
                       main_stack_size
                               EQU              0x00000400
   27 00000000         
   28 00000000         ;
   29 00000000         ;
   30 00000000         ;
   31 00000000 00000400 
                       proc_stack_size
                               EQU              0x00000400
   32 00000000         
   33 00000000         ;
   34 00000000         ;
   35 00000000         ;
   36 00000000 00000400 
                       heap_size
                               EQU              0x00000400
   37 00000000         
   38 00000000                 AREA             MSTACK, NOINIT, READWRITE, ALIG
N=3
   39 00000000         main_stack_mem
                               SPACE            main_stack_size
   40 00000400                 EXPORT           __initial_msp
   41 00000400         __initial_msp
   42 00000400         
   43 00000400                 AREA             CSTACK, NOINIT, READWRITE, ALIG
N=3
   44 00000000         __main_thread_stack_base__
   45 00000000                 EXPORT           __main_thread_stack_base__
   46 00000000         proc_stack_mem
                               SPACE            proc_stack_size
   47 00000400                 EXPORT           __initial_sp



ARM Macro Assembler    Page 2 


   48 00000400         __initial_sp
   49 00000400         
   50 00000400                 AREA             HEAP, NOINIT, READWRITE, ALIGN=
3
   51 00000000         __heap_base
   52 00000000         Heap_Mem
                               SPACE            heap_size
   53 00000400         __heap_limit
   54 00000400         
   55 00000400 00000000 
                       CONTROL_MODE_PRIVILEGED
                               EQU              0
   56 00000400 00000001 
                       CONTROL_MODE_UNPRIVILEGED
                               EQU              1
   57 00000400 00000000 
                       CONTROL_USE_MSP
                               EQU              0
   58 00000400 00000002 
                       CONTROL_USE_PSP
                               EQU              2
   59 00000400         
   60 00000400                 PRESERVE8
   61 00000400                 THUMB
   62 00000400         
   63 00000400                 AREA             |.text|, CODE, READONLY
   64 00000000         
   65 00000000         
   66 00000000         
   67 00000000         
   68 00000000                 IMPORT           __main
   69 00000000                 EXPORT           Reset_Handler
   70 00000000         Reset_Handler
                               PROC
   71 00000000 B672            cpsid            i
   72 00000002 4809            ldr              r0, =__initial_sp
   73 00000004 F380 8809       msr              PSP, r0
   74 00000008 2002            movs             r0, #CONTROL_MODE_PRIVILEGED :O
R: CONTROL_USE_PSP
   75 0000000A F380 8814       msr              CONTROL, r0
   76 0000000E F3BF 8F6F       isb
   77 00000012 F7FF FFFE       bl               __early_init
   78 00000016         
   79 00000016                 IF               {CPU} = "Cortex-M4.fp"
   84                          ENDIF
   85 00000016         
   86 00000016 4805            ldr              r0, =__main
   87 00000018 4700            bx               r0
   88 0000001A                 ENDP
   89 0000001A         
   90 0000001A         __early_init
                               PROC
   91 0000001A                 EXPORT           __early_init            [WEAK]
   92 0000001A 4770            bx               lr
   93 0000001C                 ENDP
   94 0000001C         
   95 0000001C                 ALIGN
   96 0000001C         
   97 0000001C         



ARM Macro Assembler    Page 3 


   98 0000001C         
   99 0000001C         
  100 0000001C                 IF               :DEF:__MICROLIB
  107 0000001C         
  108 0000001C                 IMPORT           __use_two_region_memory
  109 0000001C                 EXPORT           __user_initial_stackheap
  110 0000001C         __user_initial_stackheap
  111 0000001C 4804            ldr              r0, =Heap_Mem
  112 0000001E 4905            ldr              r1, =(proc_stack_mem + proc_sta
ck_size)
  113 00000020 4A05            ldr              r2, =(Heap_Mem + heap_size)
  114 00000022 4B06            ldr              r3, =proc_stack_mem
  115 00000024 4770            bx               lr
  116 00000026         
  117 00000026 00 00           ALIGN
  118 00000028         
  119 00000028                 ENDIF
  120 00000028         
  121 00000028                 END
              00000000 
              00000000 
              00000000 
              00000400 
              00000400 
              00000000 
Command Line: --debug --xref --cpreproc --cpu=Cortex-M3 --apcs=interwork --depe
nd=.\obj\cstartup.d -o.\obj\cstartup.o -I..\ -I..\..\..\boards\ST_STM32L_DISCOV
ERY -I..\..\..\os\ports\RVCT\ARMCMx\STM32L1xx -I"C:\Program Files\Keil\ARM\RV31
\INC" -I"C:\Program Files\Keil\ARM\CMSIS\Include" -I"C:\Program Files\Keil\ARM\
Inc\ST\STM32L1xx" --predefine="__EVAL SETA 1" --list=.\lst\cstartup.lst ..\..\.
.\os\ports\RVCT\ARMCMx\cstartup.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

MSTACK 00000000

Symbol: MSTACK
   Definitions
      At line 38 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: MSTACK unused
__initial_msp 00000400

Symbol: __initial_msp
   Definitions
      At line 41 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 40 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: __initial_msp used once
main_stack_mem 00000000

Symbol: main_stack_mem
   Definitions
      At line 39 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: main_stack_mem unused
3 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

CSTACK 00000000

Symbol: CSTACK
   Definitions
      At line 43 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: CSTACK unused
__initial_sp 00000400

Symbol: __initial_sp
   Definitions
      At line 48 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 47 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
      At line 72 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s

__main_thread_stack_base__ 00000000

Symbol: __main_thread_stack_base__
   Definitions
      At line 44 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 45 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: __main_thread_stack_base__ used once
proc_stack_mem 00000000

Symbol: proc_stack_mem
   Definitions
      At line 46 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 112 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
      At line 114 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s

4 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

HEAP 00000000

Symbol: HEAP
   Definitions
      At line 50 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: HEAP unused
Heap_Mem 00000000

Symbol: Heap_Mem
   Definitions
      At line 52 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 111 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
      At line 113 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s

__heap_base 00000000

Symbol: __heap_base
   Definitions
      At line 51 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: __heap_base unused
__heap_limit 00000400

Symbol: __heap_limit
   Definitions
      At line 53 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: __heap_limit unused
4 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.text 00000000

Symbol: .text
   Definitions
      At line 63 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: .text unused
Reset_Handler 00000000

Symbol: Reset_Handler
   Definitions
      At line 70 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 69 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: Reset_Handler used once
__early_init 0000001A

Symbol: __early_init
   Definitions
      At line 90 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 77 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
      At line 91 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s

__user_initial_stackheap 0000001C

Symbol: __user_initial_stackheap
   Definitions
      At line 110 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 109 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: __user_initial_stackheap used once
4 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Absolute symbols

CONTROL_MODE_PRIVILEGED 00000000

Symbol: CONTROL_MODE_PRIVILEGED
   Definitions
      At line 55 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 74 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: CONTROL_MODE_PRIVILEGED used once
CONTROL_MODE_UNPRIVILEGED 00000001

Symbol: CONTROL_MODE_UNPRIVILEGED
   Definitions
      At line 56 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: CONTROL_MODE_UNPRIVILEGED unused
CONTROL_USE_MSP 00000000

Symbol: CONTROL_USE_MSP
   Definitions
      At line 57 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: CONTROL_USE_MSP unused
CONTROL_USE_PSP 00000002

Symbol: CONTROL_USE_PSP
   Definitions
      At line 58 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 74 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: CONTROL_USE_PSP used once
heap_size 00000400

Symbol: heap_size
   Definitions
      At line 36 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 52 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
      At line 113 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s

main_stack_size 00000400

Symbol: main_stack_size
   Definitions
      At line 26 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 39 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: main_stack_size used once
proc_stack_size 00000400

Symbol: proc_stack_size
   Definitions
      At line 31 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 46 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
      At line 112 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s

7 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols

__main 00000000

Symbol: __main
   Definitions
      At line 68 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      At line 86 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
Comment: __main used once
__use_two_region_memory 00000000

Symbol: __use_two_region_memory
   Definitions
      At line 108 in file ..\\..\\..\\os\\ports\\RVCT\\ARMCMx\\cstartup.s
   Uses
      None
Comment: __use_two_region_memory unused
2 symbols
359 symbols in table