⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 startup.lst

📁 基于S3C2410的汇编与C语言相互调用例程 学习汇编的下载
💻 LST
字号:



ARM Macro Assembler    Page 1 


    1 00000000         ;#******************************************************
                       ***************************************
    2 00000000         ;# File: startup.s
    3 00000000         ;# Author: Wuhan R&D Center, embest
    4 00000000         ;# Desc:  C start up codes.Configure memory, Initialize 
                       ISR ,stacks,initialize C-variables
    5 00000000         ;#   Fill zeros into zero-initialized C-variables
    6 00000000         ;# History:
    7 00000000         ;#******************************************************
                       ***************************************
    8 00000000         
    9 00000000         ;/*-----------------------------------------------------
                       -------------------------------------*/
   10 00000000         ;/*          global symbol define          */
   11 00000000         ;/*-----------------------------------------------------
                       -------------------------------------*/
   12 00000000         ; .global _start
   13 00000000         
   14 00000000         ;/*-----------------------------------------------------
                       -------------------------------------*/
   15 00000000         ;/*          code                 */
   16 00000000         ;/*-----------------------------------------------------
                       -------------------------------------*/ 
   17 00000000                 area             RESET,code,readonly
   18 00000000                 entry
   19 00000000         ;# Set  interrupt / exception vectors
   20 00000000 EA000006        b                Reset_Handler
   21 00000004         Undefined_Handler
   22 00000004 EAFFFFFE        b                Undefined_Handler
   23 00000008         SWI_Handler
   24 00000008 EAFFFFFE        b                SWI_Handler
   25 0000000C         Prefetch_Handler
   26 0000000C EAFFFFFE        b                Prefetch_Handler
   27 00000010         Abort_Handler
   28 00000010 EAFFFFFE        b                Abort_Handler
   29 00000014 E1A00000        nop                          ;/* Reserved vector
                                                             */
   30 00000018         IRQ_Handler
   31 00000018 EAFFFFFE        b                IRQ_Handler
   32 0000001C         FIQ_Handler
   33 0000001C EAFFFFFE        b                FIQ_Handler
   34 00000020         Reset_Handler
   35 00000020         ; ldr sp, =0x0C002000
   36 00000020         
   37 00000020         ;# *****************************************************
                       ****
   38 00000020         ;# Branch on C code Main function (with interworking)   
                          *                     
   39 00000020         ;# Branch must be performed by an interworking call as  
                          *
   40 00000020         ;# either an ARM or Thumb.main C function must be       
                          *
   41 00000020         ;# supported. This makes the code not position-independa
                       nt.*
   42 00000020         ;# A Branch with link would generate errors             
                          *
   43 00000020         ;# *****************************************************
                       ****
   44 00000020                 IMPORT           __main



ARM Macro Assembler    Page 2 


   45 00000020 E59F0004        LDR              R0, =__main
   46 00000024 E12FFF10        BX               R0
   47 00000028         ;    # jump to __main()
   48 00000028         
   49 00000028         ;# *****************************************************
                       ****
   50 00000028         ;# * Loop for ever                           *  
   51 00000028         ;# * End of application. Normally, never occur.         
                         *
   52 00000028         ;# * Could jump on Software Reset ( B 0x0 ).            
                         *
   53 00000028         ;# *****************************************************
                       ****
   54 00000028         End
   55 00000028 EAFFFFFE        b                End
   56 0000002C         
   57 0000002C                 end
              00000000 
Command Line: --debug --xref --device=DARMST9 --apcs=interwork -o.\obj\startup.
o -Id:\Keil\ARM\INC\Samsung --list=.\lst\startup.lst startup.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

Abort_Handler 00000010

Symbol: Abort_Handler
   Definitions
      At line 27 in file startup.s
   Uses
      At line 28 in file startup.s
Comment: Abort_Handler used once
End 00000028

Symbol: End
   Definitions
      At line 54 in file startup.s
   Uses
      At line 55 in file startup.s
Comment: End used once
FIQ_Handler 0000001C

Symbol: FIQ_Handler
   Definitions
      At line 32 in file startup.s
   Uses
      At line 33 in file startup.s
Comment: FIQ_Handler used once
IRQ_Handler 00000018

Symbol: IRQ_Handler
   Definitions
      At line 30 in file startup.s
   Uses
      At line 31 in file startup.s
Comment: IRQ_Handler used once
Prefetch_Handler 0000000C

Symbol: Prefetch_Handler
   Definitions
      At line 25 in file startup.s
   Uses
      At line 26 in file startup.s
Comment: Prefetch_Handler used once
RESET 00000000

Symbol: RESET
   Definitions
      At line 17 in file startup.s
   Uses
      None
Comment: RESET unused
Reset_Handler 00000020

Symbol: Reset_Handler
   Definitions
      At line 34 in file startup.s
   Uses
      At line 20 in file startup.s
Comment: Reset_Handler used once
SWI_Handler 00000008

Symbol: SWI_Handler



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols

   Definitions
      At line 23 in file startup.s
   Uses
      At line 24 in file startup.s
Comment: SWI_Handler used once
Undefined_Handler 00000004

Symbol: Undefined_Handler
   Definitions
      At line 21 in file startup.s
   Uses
      At line 22 in file startup.s
Comment: Undefined_Handler used once
9 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_info$$$RESET 00000000

Symbol: .debug_info$$$RESET
   Definitions
      None
   Uses
      None
Warning: .debug_info$$$RESET undefinedComment: .debug_info$$$RESET unused
1 symbol



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_line$$$RESET 00000000

Symbol: .debug_line$$$RESET
   Definitions
      None
   Uses
      None
Warning: .debug_line$$$RESET undefinedComment: .debug_line$$$RESET unused
1 symbol



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_abbrev 00000000

Symbol: .debug_abbrev
   Definitions
      None
   Uses
      None
Warning: .debug_abbrev undefinedComment: .debug_abbrev unused
__ARM_asm.debug_abbrev 00000000

Symbol: __ARM_asm.debug_abbrev
   Definitions
      None
   Uses
      None
Warning: __ARM_asm.debug_abbrev undefinedComment: __ARM_asm.debug_abbrev unused
2 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols

__main 00000000

Symbol: __main
   Definitions
      At line 44 in file startup.s
   Uses
      At line 45 in file startup.s
Comment: __main used once
1 symbol
335 symbols in table

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -