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

📄 cpu_a.lst

📁 ucosii和ucgui移植到LPC1788上
💻 LST
📖 第 1 页 / 共 2 页
字号:
  130 00000016         ;*******************************************************
                       *************************************************



ARM Macro Assembler    Page 4 


  131 00000016         ;                                         COUNT LEADING 
                       ZEROS
  132 00000016         ;
  133 00000016         ; Description : Counts the number of binary zero bits be
                       fore the first binary one bit in the argument.
  134 00000016         ;               If the argument is zero, the value 32 is
                        returned.
  135 00000016         ;
  136 00000016         ; Prototypes : CPU_INT32U  CPU_CntLeadZeros (CPU_INT32U 
                        val)
  137 00000016         ;
  138 00000016         ; Argument(s) : val     variable to count leading zeros
  139 00000016         ;*******************************************************
                       *************************************************
  140 00000016         
  141 00000016         CPU_CntLeadZeros
  142 00000016 FAB0 F080       CLZ              R0, R0      ; Count leading zer
                                                            os
  143 0000001A 4770            BX               LR
  144 0000001C         
  145 0000001C         
  146 0000001C         ;*******************************************************
                       *************************************************
  147 0000001C         ;                                             REVERSE BI
                       TS
  148 0000001C         ;
  149 0000001C         ; Description : Reverses the bits in the argument.
  150 0000001C         ;
  151 0000001C         ; Prototypes : CPU_INT32U  CPU_RevBits (CPU_INT32U  val)
                       
  152 0000001C         ;
  153 0000001C         ; Argument(s) : val     variable to reverse
  154 0000001C         ;*******************************************************
                       *************************************************
  155 0000001C         
  156 0000001C         CPU_RevBits
  157 0000001C FA90 F0A0       RBIT             R0, R0      ; Reverse bits
  158 00000020 4770            BX               LR
  159 00000022         
  160 00000022         
  161 00000022         ;$PAGE
  162 00000022         ;*******************************************************
                       *************************************************
  163 00000022         ;                                         WAIT FOR INTER
                       RUPT
  164 00000022         ;
  165 00000022         ; Description : Enters sleep state, which will be exited
                        when an interrupt is received.
  166 00000022         ;
  167 00000022         ; Prototypes  : void  CPU_WaitForInt (void)
  168 00000022         ;
  169 00000022         ; Argument(s) : none.
  170 00000022         ;*******************************************************
                       *************************************************
  171 00000022         
  172 00000022         CPU_WaitForInt
  173 00000022 BF30            WFI                          ; Wait for interrup
                                                            t
  174 00000024 4770            BX               LR



ARM Macro Assembler    Page 5 


  175 00000026         
  176 00000026         
  177 00000026         ;*******************************************************
                       *************************************************
  178 00000026         ;                                         WAIT FOR EXCEP
                       TION
  179 00000026         ;
  180 00000026         ; Description : Enters sleep state, which will be exited
                        when an exception is received.
  181 00000026         ;
  182 00000026         ; Prototypes  : void  CPU_WaitForExcept (void)
  183 00000026         ;
  184 00000026         ; Argument(s) : none.
  185 00000026         ;*******************************************************
                       *************************************************
  186 00000026         
  187 00000026         CPU_WaitForExcept
  188 00000026 BF20            WFE                          ; Wait for exceptio
                                                            n
  189 00000028 4770            BX               LR
  190 0000002A         
  191 0000002A         
  192 0000002A         ;$PAGE
  193 0000002A         ;*******************************************************
                       *************************************************
  194 0000002A         ;                                     CPU ASSEMBLY PORT 
                       FILE END
  195 0000002A         ;*******************************************************
                       *************************************************
  196 0000002A         
  197 0000002A                 END
Command Line: --debug --xref --device=DARMP1 --apcs=interwork -o.\IFlash\cpu_a.
o -IC:\Keil\ARM\INC\NXP\LPC177x_8x --list=.\cpu_a.lst CPU\cpu_a.asm



ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols

.text 00000000

Symbol: .text
   Definitions
      At line 60 in file CPU\cpu_a.asm
   Uses
      None
Comment: .text unused
CPU_CntLeadZeros 00000016

Symbol: CPU_CntLeadZeros
   Definitions
      At line 141 in file CPU\cpu_a.asm
   Uses
      At line 49 in file CPU\cpu_a.asm
Comment: CPU_CntLeadZeros used once
CPU_IntDis 00000000

Symbol: CPU_IntDis
   Definitions
      At line 76 in file CPU\cpu_a.asm
   Uses
      At line 43 in file CPU\cpu_a.asm
Comment: CPU_IntDis used once
CPU_IntEn 00000004

Symbol: CPU_IntEn
   Definitions
      At line 81 in file CPU\cpu_a.asm
   Uses
      At line 44 in file CPU\cpu_a.asm
Comment: CPU_IntEn used once
CPU_RevBits 0000001C

Symbol: CPU_RevBits
   Definitions
      At line 156 in file CPU\cpu_a.asm
   Uses
      At line 50 in file CPU\cpu_a.asm
Comment: CPU_RevBits used once
CPU_SR_Restore 00000010

Symbol: CPU_SR_Restore
   Definitions
      At line 124 in file CPU\cpu_a.asm
   Uses
      At line 47 in file CPU\cpu_a.asm
Comment: CPU_SR_Restore used once
CPU_SR_Save 00000008

Symbol: CPU_SR_Save
   Definitions
      At line 118 in file CPU\cpu_a.asm
   Uses
      At line 46 in file CPU\cpu_a.asm
Comment: CPU_SR_Save used once
CPU_WaitForExcept 00000026

Symbol: CPU_WaitForExcept



ARM Macro Assembler    Page 2 Alphabetic symbol ordering
Relocatable symbols

   Definitions
      At line 187 in file CPU\cpu_a.asm
   Uses
      At line 53 in file CPU\cpu_a.asm
Comment: CPU_WaitForExcept used once
CPU_WaitForInt 00000022

Symbol: CPU_WaitForInt
   Definitions
      At line 172 in file CPU\cpu_a.asm
   Uses
      At line 52 in file CPU\cpu_a.asm
Comment: CPU_WaitForInt used once
9 symbols
328 symbols in table

⌨️ 快捷键说明

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