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

📄 swi_handler.lst

📁 NXP LPC2378 Timer Demo
💻 LST
字号:



ARM Macro Assembler    Page 1 


    1 00000000         ;/******************************************************
                       ***********************
    2 00000000         ;*   swi_handler.s: SWI handler file for NXP LPC230x Fam
                       ily Microprocessors
    3 00000000         ;*
    4 00000000         ;*   Copyright(C) 2006, NXP Semiconductor
    5 00000000         ;*   All rights reserved.
    6 00000000         ;*
    7 00000000         ;*   History
    8 00000000         ;*   2006.09.01  ver 1.00    Prelimnary version, first R
                       elease
    9 00000000         ;*
   10 00000000         ;*******************************************************
                       **********************/
   11 00000000         
   12 00000000                 PRESERVE8
   13 00000000         
   14 00000000 00000000 
                       SWI_IRQ_DIS
                               EQU              0
   15 00000000 00000001 
                       SWI_IRQ_EN
                               EQU              1
   16 00000000 00000002 
                       SWI_FIQ_DIS
                               EQU              2
   17 00000000 00000003 
                       SWI_FIQ_EN
                               EQU              3
   18 00000000         
   19 00000000 00000080 
                       I_Bit   EQU              0x80
   20 00000000 00000040 
                       F_Bit   EQU              0x40
   21 00000000         
   22 00000000         ;The exported labels and functions
   23 00000000                 EXPORT           SoftwareInterrupt
   24 00000000                 EXPORT           IntEnable
   25 00000000                 EXPORT           IntDisable
   26 00000000         
   27 00000000                 CODE32
   28 00000000                 AREA             SWI_HANDLER,CODE,READONLY
   29 00000000                 ENTRY
   30 00000000         
   31 00000000         ;*******************************************************
                       *************
   32 00000000         ;*  SWI interrupt handler           *
   33 00000000         ;*  Function : SoftwareInterrupt(SWI_Number)      *
   34 00000000         ;*  The SWI_Number is 0 through 3        *
   35 00000000         ;*  See below "SwiFunction" table below       *
   36 00000000         ;*  Parameters:    None            *
   37 00000000         ;*  input  :       SWI_Number          * 
   38 00000000         ;*  output :       None            *
   39 00000000         ;*******************************************************
                       *************
   40 00000000         SoftwareInterrupt
   41 00000000 E3500004        CMP              R0, #4
   42 00000004 379FF100        LDRLO            PC, [PC, R0, LSL #2]
   43 00000008 E1B0F00E        MOVS             PC, LR



ARM Macro Assembler    Page 2 


   44 0000000C         
   45 0000000C         SwiFunction
   46 0000000C 00000000        DCD              IRQDisable  ;0
   47 00000010 00000000        DCD              IRQEnable   ;1
   48 00000014 00000000        DCD              FIQDisable  ;2
   49 00000018 00000000        DCD              FIQEnable   ;3
   50 0000001C         
   51 0000001C         IRQDisable
   52 0000001C E14F0000        MRS              R0, SPSR
   53 00000020 E3800080        ORR              R0, R0, #I_Bit
   54 00000024 E161F000        MSR              SPSR_c, R0
   55 00000028 E1B0F00E        MOVS             PC, LR
   56 0000002C         
   57 0000002C         IRQEnable
   58 0000002C E14F0000        MRS              R0, SPSR
   59 00000030 E3C00080        BIC              R0, R0, #I_Bit
   60 00000034 E161F000        MSR              SPSR_c, R0
   61 00000038 E1B0F00E        MOVS             PC, LR
   62 0000003C         
   63 0000003C         FIQDisable
   64 0000003C E14F0000        MRS              R0, SPSR
   65 00000040 E3800040        ORR              R0, R0, #F_Bit
   66 00000044 E161F000        MSR              SPSR_c, R0
   67 00000048 E1B0F00E        MOVS             PC, LR
   68 0000004C         
   69 0000004C         FIQEnable
   70 0000004C E14F0000        MRS              R0, SPSR
   71 00000050 E3C00040        BIC              R0, R0, #F_Bit
   72 00000054 E161F000        MSR              SPSR_c, R0
   73 00000058 E1B0F00E        MOVS             PC, LR
   74 0000005C         
   75 0000005C         
   76 0000005C         ;*******************************************************
                       ***************
   77 0000005C         ;*  Call SWI to enable IRQ                              
                                     *
   78 0000005C         ;*  Function : void IntEnable(void)                     
                                     *
   79 0000005C         ;*  Parameters:      None                               
                                     *
   80 0000005C         ;*  input  :         None                               
                                     * 
   81 0000005C         ;*  output :         None                               
                                     *
   82 0000005C         ;*******************************************************
                       ***************
   83 0000005C         IntEnable
   84 0000005C EF000001        SWI              SWI_IRQ_EN
   85 00000060 E12FFF1E        BX               lr
   86 00000064         ; end of IntEnable
   87 00000064         
   88 00000064         ;*******************************************************
                       ***************
   89 00000064         ;*  Call SWI to disable IRQ                             
                                     *
   90 00000064         ;*  Function : void IntDisable(void)                    
                                     *
   91 00000064         ;*  Parameters     : None                               
                                     *



ARM Macro Assembler    Page 3 


   92 00000064         ;*  input          : None                               
                                     * 
   93 00000064         ;*  output         : None                               
                                     *
   94 00000064         ;*******************************************************
                       ***************
   95 00000064         IntDisable
   96 00000064 EF000000        SWI              SWI_IRQ_DIS
   97 00000068 E12FFF1E        BX               lr
   98 0000006C         ; end of IntDisable
   99 0000006C         
  100 0000006C                 END
Command Line: --debug --xref --device=DARMP --apcs=interwork -o.\Obj\swi_handle
r.o -IC:\Keil\ARM\INC\Philips --list=.\Lst\swi_handler.lst ..\Common\src\swi_ha
ndler.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

FIQDisable 0000003C

Symbol: FIQDisable
   Definitions
      At line 63 in file ..\Common\src\swi_handler.s
   Uses
      At line 48 in file ..\Common\src\swi_handler.s
Comment: FIQDisable used once
FIQEnable 0000004C

Symbol: FIQEnable
   Definitions
      At line 69 in file ..\Common\src\swi_handler.s
   Uses
      At line 49 in file ..\Common\src\swi_handler.s
Comment: FIQEnable used once
IRQDisable 0000001C

Symbol: IRQDisable
   Definitions
      At line 51 in file ..\Common\src\swi_handler.s
   Uses
      At line 46 in file ..\Common\src\swi_handler.s
Comment: IRQDisable used once
IRQEnable 0000002C

Symbol: IRQEnable
   Definitions
      At line 57 in file ..\Common\src\swi_handler.s
   Uses
      At line 47 in file ..\Common\src\swi_handler.s
Comment: IRQEnable used once
IntDisable 00000064

Symbol: IntDisable
   Definitions
      At line 95 in file ..\Common\src\swi_handler.s
   Uses
      At line 25 in file ..\Common\src\swi_handler.s
Comment: IntDisable used once
IntEnable 0000005C

Symbol: IntEnable
   Definitions
      At line 83 in file ..\Common\src\swi_handler.s
   Uses
      At line 24 in file ..\Common\src\swi_handler.s
Comment: IntEnable used once
SWI_HANDLER 00000000

Symbol: SWI_HANDLER
   Definitions
      At line 28 in file ..\Common\src\swi_handler.s
   Uses
      None
Comment: SWI_HANDLER unused
SoftwareInterrupt 00000000

Symbol: SoftwareInterrupt



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols

   Definitions
      At line 40 in file ..\Common\src\swi_handler.s
   Uses
      At line 23 in file ..\Common\src\swi_handler.s
Comment: SoftwareInterrupt used once
SwiFunction 0000000C

Symbol: SwiFunction
   Definitions
      At line 45 in file ..\Common\src\swi_handler.s
   Uses
      None
Comment: SwiFunction unused
9 symbols



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_info$$$SWI_HANDLER 00000000

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



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_line$$$SWI_HANDLER 00000000

Symbol: .debug_line$$$SWI_HANDLER
   Definitions
      None
   Uses
      None
Warning: .debug_line$$$SWI_HANDLER undefinedComment: .debug_line$$$SWI_HANDLER 
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
Absolute symbols

F_Bit 00000040

Symbol: F_Bit
   Definitions
      At line 20 in file ..\Common\src\swi_handler.s
   Uses
      At line 65 in file ..\Common\src\swi_handler.s
      At line 71 in file ..\Common\src\swi_handler.s

I_Bit 00000080

Symbol: I_Bit
   Definitions
      At line 19 in file ..\Common\src\swi_handler.s
   Uses
      At line 53 in file ..\Common\src\swi_handler.s
      At line 59 in file ..\Common\src\swi_handler.s

SWI_FIQ_DIS 00000002

Symbol: SWI_FIQ_DIS
   Definitions
      At line 16 in file ..\Common\src\swi_handler.s
   Uses
      None
Comment: SWI_FIQ_DIS unused
SWI_FIQ_EN 00000003

Symbol: SWI_FIQ_EN
   Definitions
      At line 17 in file ..\Common\src\swi_handler.s
   Uses
      None
Comment: SWI_FIQ_EN unused
SWI_IRQ_DIS 00000000

Symbol: SWI_IRQ_DIS
   Definitions
      At line 14 in file ..\Common\src\swi_handler.s
   Uses
      At line 96 in file ..\Common\src\swi_handler.s
Comment: SWI_IRQ_DIS used once
SWI_IRQ_EN 00000001

Symbol: SWI_IRQ_EN
   Definitions
      At line 15 in file ..\Common\src\swi_handler.s
   Uses
      At line 84 in file ..\Common\src\swi_handler.s
Comment: SWI_IRQ_EN used once
6 symbols
338 symbols in table

⌨️ 快捷键说明

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