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

📄 irq.lst

📁 用RVMDK生成bin格式的可执行文件.
💻 LST
字号:



ARM Macro Assembler    Page 1 


    1 00000000 00000080 
                       NoInt   EQU              0x80
    2 00000000         
    3 00000000 00000010 
                       USR32Mode
                               EQU              0x10
    4 00000000 00000013 
                       SVC32Mode
                               EQU              0x13
    5 00000000 0000001F 
                       SYS32Mode
                               EQU              0x1f
    6 00000000 00000012 
                       IRQ32Mode
                               EQU              0x12
    7 00000000 00000011 
                       FIQ32Mode
                               EQU              0x11
    8 00000000         
    9 00000000                 CODE32
   10 00000000         
   11 00000000                 AREA             IRQ,CODE,READONLY
   12 00000000         
   13 00000000                 MACRO
   14 00000000         $IRQ_Label
                               HANDLER          $IRQ_Exception_Function
   15 00000000         
   16 00000000                 EXPORT           $IRQ_Label
   17 00000000                 IMPORT           $IRQ_Exception_Function
   18 00000000         
   19 00000000         $IRQ_Label
   20 00000000                 SUB              LR, LR, #4  ; Calculate the ret
                                                            urning address 
   21 00000000                 STMFD            SP!, {R0-R3, R12, LR} ; Protect
                                                            s the task environm
                                                            ents
   22 00000000                 MRS              R3, SPSR    ; Protects the stat
                                                            us variable 
   23 00000000                 STMFD            SP, {R3,LR}^ ; Protects SPSR an
                                                            d SP in user status
                                                            , Notice: DO NOT wr
                                                            ite back.
   24 00000000         ; If the SP is written back, it should be adjusted to it
                       s appropriate value later.
   25 00000000                 NOP
   26 00000000                 SUB              SP, SP, #4*2
   27 00000000         
   28 00000000                 MSR              CPSR_c, #(NoInt | SYS32Mode) ; 
                                                            Switch to the Syste
                                                            m Mode
   29 00000000         
   30 00000000                 BL               $IRQ_Exception_Function ; call 
                                                            the C interrupt han
                                                            dler funtion 
   31 00000000         
   32 00000000                 MSR              CPSR_c, #(NoInt | IRQ32Mode) ; 
                                                            Switch bak to IRQ m
                                                            ode
   33 00000000                 LDMFD            SP, {R3,LR}^ ; Recover SPSR and



ARM Macro Assembler    Page 2 


                                                             SP in user status,
                                                             Notic: DO NOT writ
                                                            e back.
   34 00000000         ; If the SP is written back, it should be adjusted to it
                       s appropriate value later.
   35 00000000                 MSR              SPSR_cxsf, R3
   36 00000000                 ADD              SP, SP, #4*2 ; 
   37 00000000         
   38 00000000                 LDMFD            SP!, {R0-R3, R12, PC}^ ;
   39 00000000                 MEND
   40 00000000         
   41 00000000         
   42 00000000         ;Timer0_Handler  HANDLER Timer0
   43 00000000         
   44 00000000                 END
Command Line: --debug --xref --device=DARMP --apcs=interwork -o.\output\IRQ.o -
IC:\Keil\ARM\INC\Philips --list=.\lst\IRQ.lst src\IRQ.s



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

IRQ 00000000

Symbol: IRQ
   Definitions
      At line 11 in file src\IRQ.s
   Uses
      None
Comment: IRQ unused
1 symbol



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_info$$$IRQ 00000000

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



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.debug_line$$$IRQ 00000000

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

FIQ32Mode 00000011

Symbol: FIQ32Mode
   Definitions
      At line 7 in file src\IRQ.s
   Uses
      None
Comment: FIQ32Mode unused
IRQ32Mode 00000012

Symbol: IRQ32Mode
   Definitions
      At line 6 in file src\IRQ.s
   Uses
      None
Comment: IRQ32Mode unused
NoInt 00000080

Symbol: NoInt
   Definitions
      At line 1 in file src\IRQ.s
   Uses
      None
Comment: NoInt unused
SVC32Mode 00000013

Symbol: SVC32Mode
   Definitions
      At line 4 in file src\IRQ.s
   Uses
      None
Comment: SVC32Mode unused
SYS32Mode 0000001F

Symbol: SYS32Mode
   Definitions
      At line 5 in file src\IRQ.s
   Uses
      None
Comment: SYS32Mode unused
USR32Mode 00000010

Symbol: USR32Mode
   Definitions
      At line 3 in file src\IRQ.s
   Uses
      None
Comment: USR32Mode unused
6 symbols
330 symbols in table

⌨️ 快捷键说明

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