


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         ; <h> Stack Configuration
   13 00000000         ;   <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
   14 00000000         ; </h>
   15 00000000         
   16 00000000 00000100 
                       Stack_Size
                               EQU              0x00000100
   17 00000000         
   18 00000000                 AREA             STACK, NOINIT, READWRITE, ALIGN
=3
   19 00000000         Stack_Mem
                               SPACE            Stack_Size
   20 00000100         __initial_sp
   21 00000100         
   22 00000100         
   23 00000100         ; <h> Heap Configuration
   24 00000100         ;   <o>  Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
   25 00000100         ; </h>
   26 00000100         
   27 00000100 00000000 
                       Heap_Size
                               EQU              0x00000000
   28 00000100         
   29 00000100                 AREA             HEAP, NOINIT, READWRITE, ALIGN=
3
   30 00000000         __heap_base
   31 00000000         Heap_Mem
                               SPACE            Heap_Size
   32 00000000         __heap_limit
   33 00000000         
   34 00000000         
   35 00000000         PRESERVE8
   36 00000000                 THUMB
   37 00000000         
   38 00000000         
   39 00000000         ; Vector Table Mapped to Address 0 at Reset
   40 00000000         
   41 00000000                 AREA             RESET, DATA, READONLY
   42 00000000                 EXPORT           __Vectors
   43 00000000         
   44 00000000 00000000 
                       __Vectors
                               DCD              __initial_sp ; Top of Stack
   45 00000004 00000000        DCD              Reset_Handler ; Reset Handler



ARM Macro Assembler    Page 2 


   46 00000008 00000000        DCD              NMI_Handler ; NMI Handler
   47 0000000C 00000000        DCD              HardFault_Handler ; Hard Fault 
                                                            Handler
   48 00000010 00000000        DCD              0           ; Reserved
   49 00000014 00000000        DCD              0           ; Reserved
   50 00000018 00000000        DCD              0           ; Reserved
   51 0000001C 00000000        DCD              0           ; Reserved
   52 00000020 00000000        DCD              0           ; Reserved
   53 00000024 00000000        DCD              0           ; Reserved
   54 00000028 00000000        DCD              0           ; Reserved
   55 0000002C 00000000        DCD              SVC_Handler ; SVCall Handler
   56 00000030 00000000        DCD              0           ; Reserved
   57 00000034 00000000        DCD              0           ; Reserved
   58 00000038 00000000        DCD              PendSV_Handler ; PendSV Handler
                                                            
   59 0000003C 00000000        DCD              SysTick_Handler 
                                                            ; SysTick Handler
   60 00000040         ; External Interrupts
   61 00000040         ; maximum of 32 External Interrupts are possible
   62 00000040 00000000        DCD              WDT_IRQHandler
   63 00000044 00000000        DCD              APU_IRQHandler
   64 00000048 00000000        DCD              ADC_IRQHandler
   65 0000004C 00000000        DCD              EXINT_IRQHandler
   66 00000050 00000000        DCD              USBD_IRQHandler
   67 00000054 00000000        DCD              TMR0_IRQHandler
   68 00000058 00000000        DCD              TMR1_IRQHandler
   69 0000005C 00000000        DCD              TMR2_IRQHandler
   70 00000060 00000000        DCD              GPAB_IRQHandler
   71 00000064 00000000        DCD              SPI0_IRQHandler
   72 00000068 00000000        DCD              PWM0_IRQHandler
   73 0000006C 00000000        DCD              SPI1_IRQHandler
   74 00000070 00000000        DCD              TMRF_IRQHandler
   75 00000074 00000000        DCD              RTC_IRQHandler
   76 00000078 00000000        DCD              PWRWU_IRQHandler
   77 0000007C                 AREA             |.text|, CODE, READONLY
   78 00000000         
   79 00000000         
   80 00000000         
   81 00000000         ; Reset Handler
   82 00000000         
   83 00000000         Reset_Handler
                               PROC
   84 00000000                 EXPORT           Reset_Handler             [WEAK
]
   85 00000000                 IMPORT           __main
   86 00000000 4803            LDR              R0, =__main
   87 00000002 4700            BX               R0
   88 00000004                 ENDP
   89 00000004         
   90 00000004         
   91 00000004         ; Dummy Exception Handlers (infinite loops which can be 
                       modified)                
   92 00000004         
   93 00000004         NMI_Handler
                               PROC
   94 00000004                 EXPORT           NMI_Handler               [WEAK
]
   95 00000004 E7FE            B                .
   96 00000006                 ENDP



ARM Macro Assembler    Page 3 


   98 00000006         HardFault_Handler
                               PROC
   99 00000006                 EXPORT           HardFault_Handler         [WEAK
]
  100 00000006 E7FE            B                .
  101 00000008                 ENDP
  102 00000008         SVC_Handler
                               PROC
  103 00000008                 EXPORT           SVC_Handler               [WEAK
]
  104 00000008 E7FE            B                .
  105 0000000A                 ENDP
  106 0000000A         PendSV_Handler
                               PROC
  107 0000000A                 EXPORT           PendSV_Handler            [WEAK
]
  108 0000000A E7FE            B                .
  109 0000000C                 ENDP
  110 0000000C         SysTick_Handler
                               PROC
  111 0000000C                 EXPORT           SysTick_Handler           [WEAK
]
  112 0000000C E7FE            B                .
  113 0000000E                 ENDP
  114 0000000E         Default_Handler
                               PROC
  115 0000000E         
  116 0000000E                 EXPORT           WDT_IRQHandler     [WEAK]
  117 0000000E                 EXPORT           APU_IRQHandler     [WEAK]
  118 0000000E                 EXPORT           ADC_IRQHandler     [WEAK]
  119 0000000E                 EXPORT           EXINT_IRQHandler    [WEAK]
  120 0000000E                 EXPORT           USBD_IRQHandler     [WEAK]
  121 0000000E                 EXPORT           TMR0_IRQHandler     [WEAK]
  122 0000000E                 EXPORT           TMR1_IRQHandler     [WEAK]
  123 0000000E                 EXPORT           TMR2_IRQHandler     [WEAK]
  124 0000000E                 EXPORT           GPAB_IRQHandler     [WEAK]
  125 0000000E                 EXPORT           SPI0_IRQHandler     [WEAK]
  126 0000000E                 EXPORT           PWM0_IRQHandler     [WEAK]
  127 0000000E                 EXPORT           SPI1_IRQHandler     [WEAK]
  128 0000000E                 EXPORT           TMRF_IRQHandler     [WEAK]
  129 0000000E                 EXPORT           RTC_IRQHandler            [WEAK
]
  130 0000000E                 EXPORT           PWRWU_IRQHandler          [WEAK
]
  131 0000000E         
  132 0000000E         WDT_IRQHandler
  133 0000000E         APU_IRQHandler
  134 0000000E         ADC_IRQHandler
  135 0000000E         EXINT_IRQHandler
  136 0000000E         USBD_IRQHandler
  137 0000000E         TMR0_IRQHandler
  138 0000000E         TMR1_IRQHandler
  139 0000000E         TMR2_IRQHandler
  140 0000000E         GPAB_IRQHandler
  141 0000000E         SPI0_IRQHandler
  142 0000000E         PWM0_IRQHandler
  143 0000000E         SPI1_IRQHandler
  144 0000000E         TMRF_IRQHandler
  145 0000000E         RTC_IRQHandler



ARM Macro Assembler    Page 4 


  146 0000000E         PWRWU_IRQHandler
  147 0000000E         
  148 0000000E E7FE            B                .
  149 00000010         
  150 00000010                 ENDP
  151 00000010         
  152 00000010         
  153 00000010                 ALIGN
  154 00000010         
  155 00000010         
  156 00000010         ; User Initial Stack & Heap
  157 00000010         
  158 00000010                 IF               :DEF:__MICROLIB
  159 00000010         
  160 00000010                 EXPORT           __initial_sp
  161 00000010                 EXPORT           __heap_base
  162 00000010                 EXPORT           __heap_limit
  163 00000010         
  164 00000010                 ELSE
  178                          ENDIF
  179 00000010         
  180 00000010         
  181 00000010                 END
              00000000 
Command Line: --16 --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=i
nterwork --depend=.\obj\startup_n572.d -o.\obj\startup_n572.o -Id:\Keil_v5\ARM\
RV31\INC -Id:\Keil_v5\ARM\CMSIS\Include -Id:\Keil_v5\ARM\Inc\Nuvoton\NUC1xx --p
redefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 523" --list=.\
lst\startup_n572.lst startup_N572.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

STACK 00000000

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

Symbol: Stack_Mem
   Definitions
      At line 19 in file startup_N572.s
   Uses
      None
Comment: Stack_Mem unused
__initial_sp 00000100

Symbol: __initial_sp
   Definitions
      At line 20 in file startup_N572.s
   Uses
      At line 44 in file startup_N572.s
      At line 160 in file startup_N572.s

3 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

HEAP 00000000

Symbol: HEAP
   Definitions
      At line 29 in file startup_N572.s
   Uses
      None
Comment: HEAP unused
Heap_Mem 00000000

Symbol: Heap_Mem
   Definitions
      At line 31 in file startup_N572.s
   Uses
      None
Comment: Heap_Mem unused
PRESERVE8 00000000

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

Symbol: __heap_base
   Definitions
      At line 30 in file startup_N572.s
   Uses
      At line 161 in file startup_N572.s
Comment: __heap_base used once
__heap_limit 00000000

Symbol: __heap_limit
   Definitions
      At line 32 in file startup_N572.s
   Uses
      At line 162 in file startup_N572.s
Comment: __heap_limit used once
5 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

RESET 00000000

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

Symbol: __Vectors
   Definitions
      At line 44 in file startup_N572.s
   Uses
      At line 42 in file 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 77 in file startup_N572.s
   Uses
      None
Comment: .text unused
ADC_IRQHandler 0000000E

Symbol: ADC_IRQHandler
   Definitions
      At line 134 in file startup_N572.s
   Uses
      At line 64 in file startup_N572.s
      At line 118 in file startup_N572.s

APU_IRQHandler 0000000E

Symbol: APU_IRQHandler
   Definitions
      At line 133 in file startup_N572.s
   Uses
      At line 63 in file startup_N572.s
      At line 117 in file startup_N572.s

Default_Handler 0000000E

Symbol: Default_Handler
   Definitions
      At line 114 in file startup_N572.s
   Uses
      None
Comment: Default_Handler unused
EXINT_IRQHandler 0000000E

Symbol: EXINT_IRQHandler
   Definitions
      At line 135 in file startup_N572.s
   Uses
      At line 65 in file startup_N572.s
      At line 119 in file startup_N572.s

GPAB_IRQHandler 0000000E

Symbol: GPAB_IRQHandler
   Definitions
      At line 140 in file startup_N572.s
   Uses
      At line 70 in file startup_N572.s
      At line 124 in file startup_N572.s

HardFault_Handler 00000006

Symbol: HardFault_Handler
   Definitions
      At line 98 in file startup_N572.s
   Uses
      At line 47 in file startup_N572.s



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols

      At line 99 in file startup_N572.s

NMI_Handler 00000004

Symbol: NMI_Handler
   Definitions
      At line 93 in file startup_N572.s
   Uses
      At line 46 in file startup_N572.s
      At line 94 in file startup_N572.s

PWM0_IRQHandler 0000000E

Symbol: PWM0_IRQHandler
   Definitions
      At line 142 in file startup_N572.s
   Uses
      At line 72 in file startup_N572.s
      At line 126 in file startup_N572.s

PWRWU_IRQHandler 0000000E

Symbol: PWRWU_IRQHandler
   Definitions
      At line 146 in file startup_N572.s
   Uses
      At line 76 in file startup_N572.s
      At line 130 in file startup_N572.s

PendSV_Handler 0000000A

Symbol: PendSV_Handler
   Definitions
      At line 106 in file startup_N572.s
   Uses
      At line 58 in file startup_N572.s
      At line 107 in file startup_N572.s

RTC_IRQHandler 0000000E

Symbol: RTC_IRQHandler
   Definitions
      At line 145 in file startup_N572.s
   Uses
      At line 75 in file startup_N572.s
      At line 129 in file startup_N572.s

Reset_Handler 00000000

Symbol: Reset_Handler
   Definitions
      At line 83 in file startup_N572.s
   Uses
      At line 45 in file startup_N572.s
      At line 84 in file startup_N572.s

SPI0_IRQHandler 0000000E

Symbol: SPI0_IRQHandler



ARM Macro Assembler    Page 3 Alphabetic symbol ordering
Relocatable symbols

   Definitions
      At line 141 in file startup_N572.s
   Uses
      At line 71 in file startup_N572.s
      At line 125 in file startup_N572.s

SPI1_IRQHandler 0000000E

Symbol: SPI1_IRQHandler
   Definitions
      At line 143 in file startup_N572.s
   Uses
      At line 73 in file startup_N572.s
      At line 127 in file startup_N572.s

SVC_Handler 00000008

Symbol: SVC_Handler
   Definitions
      At line 102 in file startup_N572.s
   Uses
      At line 55 in file startup_N572.s
      At line 103 in file startup_N572.s

SysTick_Handler 0000000C

Symbol: SysTick_Handler
   Definitions
      At line 110 in file startup_N572.s
   Uses
      At line 59 in file startup_N572.s
      At line 111 in file startup_N572.s

TMR0_IRQHandler 0000000E

Symbol: TMR0_IRQHandler
   Definitions
      At line 137 in file startup_N572.s
   Uses
      At line 67 in file startup_N572.s
      At line 121 in file startup_N572.s

TMR1_IRQHandler 0000000E

Symbol: TMR1_IRQHandler
   Definitions
      At line 138 in file startup_N572.s
   Uses
      At line 68 in file startup_N572.s
      At line 122 in file startup_N572.s

TMR2_IRQHandler 0000000E

Symbol: TMR2_IRQHandler
   Definitions
      At line 139 in file startup_N572.s
   Uses
      At line 69 in file startup_N572.s
      At line 123 in file startup_N572.s



ARM Macro Assembler    Page 4 Alphabetic symbol ordering
Relocatable symbols


TMRF_IRQHandler 0000000E

Symbol: TMRF_IRQHandler
   Definitions
      At line 144 in file startup_N572.s
   Uses
      At line 74 in file startup_N572.s
      At line 128 in file startup_N572.s

USBD_IRQHandler 0000000E

Symbol: USBD_IRQHandler
   Definitions
      At line 136 in file startup_N572.s
   Uses
      At line 66 in file startup_N572.s
      At line 120 in file startup_N572.s

WDT_IRQHandler 0000000E

Symbol: WDT_IRQHandler
   Definitions
      At line 132 in file startup_N572.s
   Uses
      At line 62 in file startup_N572.s
      At line 116 in file startup_N572.s

23 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Absolute symbols

Heap_Size 00000000

Symbol: Heap_Size
   Definitions
      At line 27 in file startup_N572.s
   Uses
      At line 31 in file startup_N572.s
Comment: Heap_Size used once
Stack_Size 00000100

Symbol: Stack_Size
   Definitions
      At line 16 in file startup_N572.s
   Uses
      At line 19 in file startup_N572.s
Comment: Stack_Size used once
2 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols

__main 00000000

Symbol: __main
   Definitions
      At line 85 in file startup_N572.s
   Uses
      At line 86 in file startup_N572.s
Comment: __main used once
1 symbol
370 symbols in table
