


ARM Macro Assembler    Page 1 


    1 00000000         ;/******************************************************
                       ************************
    2 00000000         ; * @file     startup_N572.s
    3 00000000         ; * @version  V1.00
    4 00000000         ; * $Revision: 3 $
    5 00000000         ; * $Date: 14/07/17 11:28a $ 
    6 00000000         ; * @brief    CMSIS ARM Cortex-M0 Core Device Startup Fi
                       le
    7 00000000         ; *
    8 00000000         ; * @note
    9 00000000         ; * Copyright (C) 2014 Nuvoton Technology Corp. All righ
                       ts reserved.
   10 00000000         ;*******************************************************
                       **********************/  
   11 00000000         
   12 00000000                 IMPORT           WDT_IRQHandler
   13 00000000                 IMPORT           APU_IRQHandler
   14 00000000                 IMPORT           ADC_IRQHandler
   15 00000000                 IMPORT           EXINT_IRQHandler
   16 00000000                 IMPORT           USBD_IRQHandler
   17 00000000                 IMPORT           TMR0_IRQHandler
   18 00000000                 IMPORT           TMR1_IRQHandler
   19 00000000                 IMPORT           TMR2_IRQHandler
   20 00000000                 IMPORT           GPAB_IRQHandler
   21 00000000                 IMPORT           SPI0_IRQHandler
   22 00000000                 IMPORT           PWM0_IRQHandler
   23 00000000                 IMPORT           SPI1_IRQHandler
   24 00000000                 IMPORT           TMRF_IRQHandler
   25 00000000                 IMPORT           RTC_IRQHandler
   26 00000000                 IMPORT           PWRWU_IRQHandler
   27 00000000         
   28 00000000         ; <h> Stack Configuration
   29 00000000         ;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
   30 00000000         ; </h>
   31 00000000         
   32 00000000 00000100 
                       Stack_Size
                               EQU              0x00000100
   33 00000000         
   34 00000000                 AREA             STACK, NOINIT, READWRITE, ALIGN
=3
   35 00000000         Stack_Mem
                               SPACE            Stack_Size
   36 00000100         __initial_sp
   37 00000100         
   38 00000100         
   39 00000100         ; <h> Heap Configuration
   40 00000100         ;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
   41 00000100         ; </h>
   42 00000100         
   43 00000100 00000000 
                       Heap_Size
                               EQU              0x00000000
   44 00000100         
   45 00000100                 AREA             HEAP, NOINIT, READWRITE, ALIGN=
3
   46 00000000         __heap_base
   47 00000000         Heap_Mem
                               SPACE            Heap_Size



ARM Macro Assembler    Page 2 


   48 00000000         __heap_limit
   49 00000000         
   50 00000000         
   51 00000000         PRESERVE8
   52 00000000                 THUMB
   53 00000000         
   54 00000000         
   55 00000000         ; Vector Table Mapped to Address 0 at Reset
   56 00000000         
   57 00000000                 AREA             RESET, DATA, READONLY
   58 00000000                 EXPORT           __Vectors
   59 00000000         
   60 00000000 00000000 
                       __Vectors
                               DCD              __initial_sp ; Top of Stack
   61 00000004 00000000        DCD              Reset_Handler ; Reset Handler
   62 00000008 00000000        DCD              NMI_Handler ; NMI Handler
   63 0000000C 00000000        DCD              HardFault_Handler ; Hard Fault 
                                                            Handler
   64 00000010 00000000        DCD              0           ; Reserved
   65 00000014 00000000        DCD              0           ; Reserved
   66 00000018 00000000        DCD              0           ; Reserved
   67 0000001C 00000000        DCD              0           ; Reserved
   68 00000020 00000000        DCD              0           ; Reserved
   69 00000024 00000000        DCD              0           ; Reserved
   70 00000028 00000000        DCD              0           ; Reserved
   71 0000002C 00000000        DCD              SVC_Handler ; SVCall Handler
   72 00000030 00000000        DCD              0           ; Reserved
   73 00000034 00000000        DCD              0           ; Reserved
   74 00000038 00000000        DCD              PendSV_Handler ; PendSV Handler
                                                            
   75 0000003C 00000000        DCD              SysTick_Handler 
                                                            ; SysTick Handler
   76 00000040         ; External Interrupts
   77 00000040         ; maximum of 32 External Interrupts are possible
   78 00000040 00000000        DCD              WDT_IRQHandler
   79 00000044 00000000        DCD              APU_IRQHandler
   80 00000048 00000000        DCD              ADC_IRQHandler
   81 0000004C 00000000        DCD              EXINT_IRQHandler
   82 00000050 00000000        DCD              USBD_IRQHandler
   83 00000054 00000000        DCD              TMR0_IRQHandler
   84 00000058 00000000        DCD              TMR1_IRQHandler
   85 0000005C 00000000        DCD              TMR2_IRQHandler
   86 00000060 00000000        DCD              GPAB_IRQHandler
   87 00000064 00000000        DCD              SPI0_IRQHandler
   88 00000068 00000000        DCD              PWM0_IRQHandler
   89 0000006C 00000000        DCD              SPI1_IRQHandler
   90 00000070 00000000        DCD              TMRF_IRQHandler
   91 00000074 00000000        DCD              RTC_IRQHandler
   92 00000078 00000000        DCD              PWRWU_IRQHandler
   93 0000007C         
   94 0000007C                 AREA             |.text|, CODE, READONLY
   95 00000000         
   96 00000000         
   97 00000000         
   98 00000000         ; Reset Handler
   99 00000000         
  100 00000000         Reset_Handler
                               PROC



ARM Macro Assembler    Page 3 


  101 00000000                 EXPORT           Reset_Handler             [WEAK
]
  102 00000000                 IMPORT           __main
  103 00000000 4806            LDR              R0, =__main
  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         PendSV_Handler
                               PROC
  124 0000000A                 EXPORT           PendSV_Handler            [WEAK
]
  125 0000000A E7FE            B                .
  126 0000000C                 ENDP
  127 0000000C         SysTick_Handler
                               PROC
  128 0000000C                 EXPORT           SysTick_Handler           [WEAK
]
  129 0000000C E7FE            B                .
  130 0000000E                 ENDP
  131 0000000E         
  132 0000000E 00 00           ALIGN
  133 00000010         
  134 00000010         
  135 00000010         ; User Initial Stack & Heap
  136 00000010         
  137 00000010                 IF               :DEF:__MICROLIB
  144 00000010         
  145 00000010                 IMPORT           __use_two_region_memory
  146 00000010                 EXPORT           __user_initial_stackheap
  147 00000010         __user_initial_stackheap
  148 00000010         
  149 00000010 4803            LDR              R0, =  Heap_Mem
  150 00000012 4904            LDR              R1, =(Stack_Mem + Stack_Size)
  151 00000014 4A02            LDR              R2, = (Heap_Mem +  Heap_Size)
  152 00000016 4B04            LDR              R3, = Stack_Mem
  153 00000018 4770            BX               LR
  154 0000001A         



ARM Macro Assembler    Page 4 


  155 0000001A 00 00           ALIGN
  156 0000001C         
  157 0000001C                 ENDIF
  158 0000001C         
  159 0000001C         
  160 0000001C                 END
              00000000 
              00000000 
              00000100 
              00000000 
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
ork --depend=.\obj\startup_n572.d -o.\obj\startup_n572.o -IC:\Keil_v5\ARM\RV31\
INC -IC:\Keil_v5\ARM\CMSIS\Include --predefine="__UVISION_VERSION SETA 527" --l
ist=.\lst\startup_n572.lst startup\startup_N572.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

STACK 00000000

Symbol: STACK
   Definitions
      At line 34 in file startup\startup_N572.s
   Uses
      None
Comment: STACK unused
Stack_Mem 00000000

Symbol: Stack_Mem
   Definitions
      At line 35 in file startup\startup_N572.s
   Uses
      At line 150 in file startup\startup_N572.s
      At line 152 in file startup\startup_N572.s

__initial_sp 00000100

Symbol: __initial_sp
   Definitions
      At line 36 in file startup\startup_N572.s
   Uses
      At line 60 in file startup\startup_N572.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 startup\startup_N572.s
   Uses
      None
Comment: HEAP unused
Heap_Mem 00000000

Symbol: Heap_Mem
   Definitions
      At line 47 in file startup\startup_N572.s
   Uses
      At line 149 in file startup\startup_N572.s
      At line 151 in file startup\startup_N572.s

PRESERVE8 00000000

Symbol: PRESERVE8
   Definitions
      At line 51 in file startup\startup_N572.s
   Uses
      None
Comment: PRESERVE8 unused
__heap_base 00000000

Symbol: __heap_base
   Definitions
      At line 46 in file startup\startup_N572.s
   Uses
      None
Comment: __heap_base unused
__heap_limit 00000000

Symbol: __heap_limit
   Definitions
      At line 48 in file startup\startup_N572.s
   Uses
      None
Comment: __heap_limit unused
5 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

RESET 00000000

Symbol: RESET
   Definitions
      At line 57 in file startup\startup_N572.s
   Uses
      None
Comment: RESET unused
__Vectors 00000000

Symbol: __Vectors
   Definitions
      At line 60 in file startup\startup_N572.s
   Uses
      At line 58 in file startup\startup_N572.s
Comment: __Vectors used once
2 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.text 00000000

Symbol: .text
   Definitions
      At line 94 in file startup\startup_N572.s
   Uses
      None
Comment: .text unused
HardFault_Handler 00000006

Symbol: HardFault_Handler
   Definitions
      At line 115 in file startup\startup_N572.s
   Uses
      At line 63 in file startup\startup_N572.s
      At line 116 in file startup\startup_N572.s

NMI_Handler 00000004

Symbol: NMI_Handler
   Definitions
      At line 110 in file startup\startup_N572.s
   Uses
      At line 62 in file startup\startup_N572.s
      At line 111 in file startup\startup_N572.s

PendSV_Handler 0000000A

Symbol: PendSV_Handler
   Definitions
      At line 123 in file startup\startup_N572.s
   Uses
      At line 74 in file startup\startup_N572.s
      At line 124 in file startup\startup_N572.s

Reset_Handler 00000000

Symbol: Reset_Handler
   Definitions
      At line 100 in file startup\startup_N572.s
   Uses
      At line 61 in file startup\startup_N572.s
      At line 101 in file startup\startup_N572.s

SVC_Handler 00000008

Symbol: SVC_Handler
   Definitions
      At line 119 in file startup\startup_N572.s
   Uses
      At line 71 in file startup\startup_N572.s
      At line 120 in file startup\startup_N572.s

SysTick_Handler 0000000C

Symbol: SysTick_Handler
   Definitions
      At line 127 in file startup\startup_N572.s
   Uses



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols

      At line 75 in file startup\startup_N572.s
      At line 128 in file startup\startup_N572.s

__user_initial_stackheap 00000010

Symbol: __user_initial_stackheap
   Definitions
      At line 147 in file startup\startup_N572.s
   Uses
      At line 146 in file startup\startup_N572.s
Comment: __user_initial_stackheap used once
8 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Absolute symbols

Heap_Size 00000000

Symbol: Heap_Size
   Definitions
      At line 43 in file startup\startup_N572.s
   Uses
      At line 47 in file startup\startup_N572.s
      At line 151 in file startup\startup_N572.s

Stack_Size 00000100

Symbol: Stack_Size
   Definitions
      At line 32 in file startup\startup_N572.s
   Uses
      At line 35 in file startup\startup_N572.s
      At line 150 in file startup\startup_N572.s

2 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols

ADC_IRQHandler 00000000

Symbol: ADC_IRQHandler
   Definitions
      At line 14 in file startup\startup_N572.s
   Uses
      At line 80 in file startup\startup_N572.s
Comment: ADC_IRQHandler used once
APU_IRQHandler 00000000

Symbol: APU_IRQHandler
   Definitions
      At line 13 in file startup\startup_N572.s
   Uses
      At line 79 in file startup\startup_N572.s
Comment: APU_IRQHandler used once
EXINT_IRQHandler 00000000

Symbol: EXINT_IRQHandler
   Definitions
      At line 15 in file startup\startup_N572.s
   Uses
      At line 81 in file startup\startup_N572.s
Comment: EXINT_IRQHandler used once
GPAB_IRQHandler 00000000

Symbol: GPAB_IRQHandler
   Definitions
      At line 20 in file startup\startup_N572.s
   Uses
      At line 86 in file startup\startup_N572.s
Comment: GPAB_IRQHandler used once
PWM0_IRQHandler 00000000

Symbol: PWM0_IRQHandler
   Definitions
      At line 22 in file startup\startup_N572.s
   Uses
      At line 88 in file startup\startup_N572.s
Comment: PWM0_IRQHandler used once
PWRWU_IRQHandler 00000000

Symbol: PWRWU_IRQHandler
   Definitions
      At line 26 in file startup\startup_N572.s
   Uses
      At line 92 in file startup\startup_N572.s
Comment: PWRWU_IRQHandler used once
RTC_IRQHandler 00000000

Symbol: RTC_IRQHandler
   Definitions
      At line 25 in file startup\startup_N572.s
   Uses
      At line 91 in file startup\startup_N572.s
Comment: RTC_IRQHandler used once
SPI0_IRQHandler 00000000

Symbol: SPI0_IRQHandler



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
External symbols

   Definitions
      At line 21 in file startup\startup_N572.s
   Uses
      At line 87 in file startup\startup_N572.s
Comment: SPI0_IRQHandler used once
SPI1_IRQHandler 00000000

Symbol: SPI1_IRQHandler
   Definitions
      At line 23 in file startup\startup_N572.s
   Uses
      At line 89 in file startup\startup_N572.s
Comment: SPI1_IRQHandler used once
TMR0_IRQHandler 00000000

Symbol: TMR0_IRQHandler
   Definitions
      At line 17 in file startup\startup_N572.s
   Uses
      At line 83 in file startup\startup_N572.s
Comment: TMR0_IRQHandler used once
TMR1_IRQHandler 00000000

Symbol: TMR1_IRQHandler
   Definitions
      At line 18 in file startup\startup_N572.s
   Uses
      At line 84 in file startup\startup_N572.s
Comment: TMR1_IRQHandler used once
TMR2_IRQHandler 00000000

Symbol: TMR2_IRQHandler
   Definitions
      At line 19 in file startup\startup_N572.s
   Uses
      At line 85 in file startup\startup_N572.s
Comment: TMR2_IRQHandler used once
TMRF_IRQHandler 00000000

Symbol: TMRF_IRQHandler
   Definitions
      At line 24 in file startup\startup_N572.s
   Uses
      At line 90 in file startup\startup_N572.s
Comment: TMRF_IRQHandler used once
USBD_IRQHandler 00000000

Symbol: USBD_IRQHandler
   Definitions
      At line 16 in file startup\startup_N572.s
   Uses
      At line 82 in file startup\startup_N572.s
Comment: USBD_IRQHandler used once
WDT_IRQHandler 00000000

Symbol: WDT_IRQHandler
   Definitions
      At line 12 in file startup\startup_N572.s
   Uses



ARM Macro Assembler    Page 3 Alphabetic symbol ordering
External symbols

      At line 78 in file startup\startup_N572.s
Comment: WDT_IRQHandler used once
__main 00000000

Symbol: __main
   Definitions
      At line 102 in file startup\startup_N572.s
   Uses
      At line 103 in file startup\startup_N572.s
Comment: __main used once
__use_two_region_memory 00000000

Symbol: __use_two_region_memory
   Definitions
      At line 145 in file startup\startup_N572.s
   Uses
      None
Comment: __use_two_region_memory unused
17 symbols
372 symbols in table
