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

📄 main.lst

📁 针对at91sam7a3为主芯片开发板开发的spi口应用程序
💻 LST
📖 第 1 页 / 共 2 页
字号:
##############################################################################
#                                                                            #
# IAR ARM ANSI C/C++ Compiler V4.30A/W32 KICKSTART     04/Aug/2006  19:16:16 #
# Copyright 1999-2005 IAR Systems. All rights reserved.                      #
#                                                                            #
#    Cpu mode        =  interwork                                            #
#    Endian          =  little                                               #
#    Stack alignment =  4                                                    #
#    Source file     =  C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD_ #
#                       RW)\SD_SPI-SAM7A3\src\main.c                         #
#    Command line    =  "C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD #
#                       _RW)\SD_SPI-SAM7A3\src\main.c" -lC "C:\Documents     #
#                       and Settings\yc\桌面\AT91SAM7A3(SPI_SD_RW)\SD_SPI-SA #
#                       M7A3\compil\RAM_Debug\List\" --remarks -o            #
#                       "C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD #
#                       _RW)\SD_SPI-SAM7A3\compil\RAM_Debug\Obj\" -z2        #
#                       --no_cse --no_unroll --no_inline --no_code_motion    #
#                       --no_tbaa --no_clustering --no_scheduling --debug    #
#                       --cpu_mode thumb --endian little --cpu ARM7TDMI      #
#                       --stack_align 4 --interwork -e --fpu None            #
#                       --dlib_config "D:\IAR Systems\Embedded Workbench     #
#                       4.0 Kickstart\arm\LIB\dl4tptinl8f.h" -I              #
#                       "C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD #
#                       _RW)\SD_SPI-SAM7A3\compil\srcIAR\" -I "C:\Documents  #
#                       and Settings\yc\桌面\AT91SAM7A3(SPI_SD_RW)\SD_SPI-SA #
#                       M7A3\compil\..\src\" -I "C:\Documents and            #
#                       Settings\yc\桌面\AT91SAM7A3(SPI_SD_RW)\SD_SPI-SAM7A3 #
#                       \compil\..\..\" -I "D:\IAR Systems\Embedded          #
#                       Workbench 4.0 Kickstart\arm\INC\"                    #
#    List file       =  C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD_ #
#                       RW)\SD_SPI-SAM7A3\compil\RAM_Debug\List\main.lst     #
#    Object file     =  C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD_ #
#                       RW)\SD_SPI-SAM7A3\compil\RAM_Debug\Obj\main.r79      #
#                                                                            #
#                                                                            #
##############################################################################

C:\Documents and Settings\yc\桌面\AT91SAM7A3(SPI_SD_RW)\SD_SPI-SAM7A3\src\main.c
      1          //*----------------------------------------------------------------------------
      2          //*         ATMEL Microcontroller Software Support  -  ROUSSET  -
      3          //*----------------------------------------------------------------------------
      4          //* The software is delivered "AS IS" without warranty or condition of any
      5          //* kind, either express, implied or statutory. This includes without
      6          //* limitation any warranty or condition with respect to merchantability or
      7          //* fitness for any particular purpose, or against the infringements of
      8          //* intellectual property rights of others.
      9          //*----------------------------------------------------------------------------
     10          //* File Name           : main.c
     11          //* Object              : main application written in C
     12          //* Creation            : JPP   16/Jun/2004
     13          //*----------------------------------------------------------------------------
     14          
     15          //Include Standard files
     16          #include "sdcmd.h"
     17          #include "Board.h"

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_SetNextRx(AT91PS_PDC, char *, unsigned int)
   \                     AT91F_PDC_SetNextRx:
   \   00000000   0161               STR         R1,[R0, #+0x10]
   \   00000002   4261               STR         R2,[R0, #+0x14]
   \   00000004   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_SetNextTx(AT91PS_PDC, char *, unsigned int)
   \                     AT91F_PDC_SetNextTx:
   \   00000000   8161               STR         R1,[R0, #+0x18]
   \   00000002   C261               STR         R2,[R0, #+0x1C]
   \   00000004   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_SetRx(AT91PS_PDC, char *, unsigned int)
   \                     AT91F_PDC_SetRx:
   \   00000000   0160               STR         R1,[R0, #+0]
   \   00000002   4260               STR         R2,[R0, #+0x4]
   \   00000004   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_SetTx(AT91PS_PDC, char *, unsigned int)
   \                     AT91F_PDC_SetTx:
   \   00000000   8160               STR         R1,[R0, #+0x8]
   \   00000002   C260               STR         R2,[R0, #+0xC]
   \   00000004   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_EnableTx(AT91PS_PDC)
   \                     AT91F_PDC_EnableTx:
   \   00000000   8021               MOV         R1,#+0x80
   \   00000002   4900               LSL         R1,R1,#+0x1        ;; #+0x100
   \   00000004   0162               STR         R1,[R0, #+0x20]
   \   00000006   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_EnableRx(AT91PS_PDC)
   \                     AT91F_PDC_EnableRx:
   \   00000000   0121               MOV         R1,#+0x1
   \   00000002   0162               STR         R1,[R0, #+0x20]
   \   00000004   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_DisableTx(AT91PS_PDC)
   \                     AT91F_PDC_DisableTx:
   \   00000000   8021               MOV         R1,#+0x80
   \   00000002   8900               LSL         R1,R1,#+0x2        ;; #+0x200
   \   00000004   0162               STR         R1,[R0, #+0x20]
   \   00000006   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_DisableRx(AT91PS_PDC)
   \                     AT91F_PDC_DisableRx:
   \   00000000   0221               MOV         R1,#+0x2
   \   00000002   0162               STR         R1,[R0, #+0x20]
   \   00000004   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PDC_Open(AT91PS_PDC)
   \                     AT91F_PDC_Open:
   \   00000000   10B5               PUSH        {R4,LR}
   \   00000002   041C               MOV         R4,R0
   \   00000004   201C               MOV         R0,R4
   \   00000006   ........           _BLF        AT91F_PDC_DisableRx,AT91F_PDC_DisableRx??rT
   \   0000000A   201C               MOV         R0,R4
   \   0000000C   ........           _BLF        AT91F_PDC_DisableTx,AT91F_PDC_DisableTx??rT
   \   00000010   0022               MOV         R2,#+0
   \   00000012   0021               MOV         R1,#+0
   \   00000014   201C               MOV         R0,R4
   \   00000016   ........           _BLF        AT91F_PDC_SetNextTx,AT91F_PDC_SetNextTx??rT
   \   0000001A   0022               MOV         R2,#+0
   \   0000001C   0021               MOV         R1,#+0
   \   0000001E   201C               MOV         R0,R4
   \   00000020   ........           _BLF        AT91F_PDC_SetNextRx,AT91F_PDC_SetNextRx??rT
   \   00000024   0022               MOV         R2,#+0
   \   00000026   0021               MOV         R1,#+0
   \   00000028   201C               MOV         R0,R4
   \   0000002A   ........           _BLF        AT91F_PDC_SetTx,AT91F_PDC_SetTx??rT
   \   0000002E   0022               MOV         R2,#+0
   \   00000030   0021               MOV         R1,#+0
   \   00000032   201C               MOV         R0,R4
   \   00000034   ........           _BLF        AT91F_PDC_SetRx,AT91F_PDC_SetRx??rT
   \   00000038   201C               MOV         R0,R4
   \   0000003A   ........           _BLF        AT91F_PDC_EnableRx,AT91F_PDC_EnableRx??rT
   \   0000003E   201C               MOV         R0,R4
   \   00000040   ........           _BLF        AT91F_PDC_EnableTx,AT91F_PDC_EnableTx??rT
   \   00000044   10BC               POP         {R4}
   \   00000046   01BC               POP         {R0}
   \   00000048   0047               BX          R0                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PIO_CfgPeriph(AT91PS_PIO, unsigned int, unsigned int)
   \                     AT91F_PIO_CfgPeriph:
   \   00000000   0167               STR         R1,[R0, #+0x70]
   \   00000002   4267               STR         R2,[R0, #+0x74]
   \   00000004   131C               MOV         R3,R2
   \   00000006   0B43               ORR         R3,R1
   \   00000008   4360               STR         R3,[R0, #+0x4]
   \   0000000A   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_PMC_EnablePeriphClock(AT91PS_PMC, unsigned int)
   \                     AT91F_PMC_EnablePeriphClock:
   \   00000000   0161               STR         R1,[R0, #+0x10]
   \   00000002   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs unsigned int AT91F_US_Baudrate(unsigned int const, unsigned int const)
   \                     AT91F_US_Baudrate:
   \   00000000   10B5               PUSH        {R4,LR}
   \   00000002   021C               MOV         R2,R0
   \   00000004   0B1C               MOV         R3,R1
   \   00000006   0A20               MOV         R0,#+0xA
   \   00000008   5043               MUL         R0,R2
   \   0000000A   1021               MOV         R1,#+0x10
   \   0000000C   5943               MUL         R1,R3
   \   0000000E   ........           _BLF        ??divu32_t,??rT??divu32_t
   \   00000012   0C1C               MOV         R4,R1
   \   00000014   201C               MOV         R0,R4
   \   00000016   0A21               MOV         R1,#+0xA
   \   00000018   ........           _BLF        ??divu32_t,??rT??divu32_t
   \   0000001C   0528               CMP         R0,#+0x5
   \   0000001E   06D3               BCC         ??AT91F_US_Baudrate_0
   \   00000020   201C               MOV         R0,R4
   \   00000022   0A21               MOV         R1,#+0xA
   \   00000024   ........           _BLF        ??divu32_t,??rT??divu32_t
   \   00000028   0C1C               MOV         R4,R1
   \   0000002A   641C               ADD         R4,#+0x1
   \   0000002C   04E0               B           ??AT91F_US_Baudrate_1
   \                     ??AT91F_US_Baudrate_0:
   \   0000002E   201C               MOV         R0,R4
   \   00000030   0A21               MOV         R1,#+0xA
   \   00000032   ........           _BLF        ??divu32_t,??rT??divu32_t
   \   00000036   0C1C               MOV         R4,R1
   \                     ??AT91F_US_Baudrate_1:
   \   00000038   201C               MOV         R0,R4
   \   0000003A   10BC               POP         {R4}
   \   0000003C   02BC               POP         {R1}
   \   0000003E   0847               BX          R1                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_US_SetBaudrate(AT91PS_USART, unsigned int, unsigned int)
   \                     AT91F_US_SetBaudrate:
   \   00000000   70B5               PUSH        {R4-R6,LR}
   \   00000002   041C               MOV         R4,R0
   \   00000004   0D1C               MOV         R5,R1
   \   00000006   161C               MOV         R6,R2
   \   00000008   311C               MOV         R1,R6
   \   0000000A   281C               MOV         R0,R5
   \   0000000C   ........           _BLF        AT91F_US_Baudrate,AT91F_US_Baudrate??rT
   \   00000010   2062               STR         R0,[R4, #+0x20]
   \   00000012   70BC               POP         {R4-R6}
   \   00000014   01BC               POP         {R0}
   \   00000016   0047               BX          R0                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_US_SetTimeguard(AT91PS_USART, unsigned int)
   \                     AT91F_US_SetTimeguard:
   \   00000000   8162               STR         R1,[R0, #+0x28]
   \   00000002   7047               BX          LR                 ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \   __??Code16?? __code __interwork __atpcs void AT91F_US_Configure(AT91PS_USART, unsigned int, unsigned int, unsigned int, unsigned int)
   \                     AT91F_US_Configure:
   \   00000000   F2B5               PUSH        {R1,R4-R7,LR}
   \   00000002   041C               MOV         R4,R0
   \   00000004   151C               MOV         R5,R2

⌨️ 快捷键说明

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