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

📄 crc-itu-t.lst

📁 Tried to make CAN logger on AT91sam7X-ek, but have no idea how to implement FATFs... -( I m just a
💻 LST
📖 第 1 页 / 共 2 页
字号:
###############################################################################
#                                                                             #
#                                                       25/May/2009  02:53:22 #
# IAR ANSI C/C++ Compiler V5.20.0.20892/W32 EVALUATION for ARM                #
# Copyright 1999-2008 IAR Systems AB.                                         #
#                                                                             #
#    Cpu mode     =  arm                                                      #
#    Endian       =  little                                                   #
#    Source file  =  F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\external_libs\crc\crc-itu-t.c               #
#    Command line =  F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\external_libs\crc\crc-itu-t.c -D            #
#                    at91sam7x256 -D flash -D TRACE_LEVEL=4 -lC               #
#                    F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\at #
#                    91sam7x256_flash\List\ --remarks --diag_suppress         #
#                    Pe826,Pe1375 -o F:\Diplomovka\IARprojects\Diplomovka\25. #
#                    4.2009\getting-started-project-at91sam7x-ek-iar\getting- #
#                    started-project-at91sam7x-ek\at91sam7x-ek\getting-starte #
#                    d-project\ewp\at91sam7x256_flash\Obj\ --no_cse           #
#                    --no_unroll --no_inline --no_code_motion --no_tbaa       #
#                    --no_clustering --no_scheduling --debug --endian=little  #
#                    --cpu=ARM7TDMI -e --fpu=None --dlib_config "C:\Program   #
#                    Files (x86)\IAR Systems\Embedded Workbench 5.0           #
#                    Evaluation\ARM\INC\DLib_Config_Full.h" -I                #
#                    F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\.. #
#                    \..\..\at91lib/peripherals\ -I                           #
#                    F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\.. #
#                    \..\..\at91lib\ -I F:\Diplomovka\IARprojects\Diplomovka\ #
#                    25.4.2009\getting-started-project-at91sam7x-ek-iar\getti #
#                    ng-started-project-at91sam7x-ek\at91sam7x-ek\getting-sta #
#                    rted-project\ewp\..\..\..\at91lib\memories\sdmmc\ -I     #
#                    F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\.. #
#                    \..\..\at91lib/components\ -I                            #
#                    F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\.. #
#                    \..\..\at91lib/boards/at91sam7x-ek\ -I                   #
#                    F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\.. #
#                    \..\..\external_libs/crc\ -I "C:\Program Files           #
#                    (x86)\IAR Systems\Embedded Workbench 5.0                 #
#                    Evaluation\ARM\INC\" --interwork --cpu_mode arm -Oh      #
#    List file    =  F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\at #
#                    91sam7x256_flash\List\crc-itu-t.lst                      #
#    Object file  =  F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-s #
#                    tarted-project-at91sam7x-ek-iar\getting-started-project- #
#                    at91sam7x-ek\at91sam7x-ek\getting-started-project\ewp\at #
#                    91sam7x256_flash\Obj\crc-itu-t.o                         #
#                                                                             #
#                                                                             #
###############################################################################

F:\Diplomovka\IARprojects\Diplomovka\25.4.2009\getting-started-project-at91sam7x-ek-iar\getting-started-project-at91sam7x-ek\external_libs\crc\crc-itu-t.c
      1          /*
      2           *      crc-itu-t.c
      3           *
      4           * This source code is licensed under the GNU General Public License,
      5           * Version 2. See the file COPYING for more details.
      6           */
      7          
      8          //#include <linux/types.h>
      9          //#include <linux/module.h>
     10          //#include <linux/crc-itu-t.h>
     11          #include "crc-itu-t.h"

   \                                 In section .text, align 4, keep-with-next
   \   static __??Code32?? __code __interwork unsigned short crc_itu_t_byte(unsigned short, unsigned char const)
   \                     crc_itu_t_byte:
   \   00000000   401421E0           EOR      R1,R1,R0, ASR #+8
   \   00000004   14209FE5           LDR      R2,??crc_itu_t_byte_0  ;; crc_itu_t_table
   \   00000008   811082E0           ADD      R1,R2,R1, LSL #+1
   \   0000000C   B010D1E1           LDRH     R1,[R1, #+0]
   \   00000010   000421E0           EOR      R0,R1,R0, LSL #+8
   \   00000014   0008A0E1           MOV      R0,R0, LSL #+16
   \   00000018   2008A0E1           MOV      R0,R0, LSR #+16
   \   0000001C   1EFF2FE1           BX       LR               ;; return
   \                     ??crc_itu_t_byte_0:
   \   00000020   ........           DC32     crc_itu_t_table
     12          
     13          /** CRC table for the CRC ITU-T V.41 0x0x1021 (x^16 + x^12 + x^15 + 1) */

   \                                 In section .rodata, align 4
     14          const u16 crc_itu_t_table[256] = {
   \                     crc_itu_t_table:
   \   00000000   000021104220       DC16 0, 4129, 8258, 12387, 16516, 20645, 24774, 28903, 33032, 37161
   \              63308440A550
   \              C660E7700881
   \              2991        
   \   00000014   4AA16BB18CC1       DC16 41290, 45419, 49548, 53677, 57806, 61935, 4657, 528, 12915, 8786
   \              ADD1CEE1EFF1
   \              311210027332
   \              5222        
   \   00000028   B5529442F772       DC16 21173, 17044, 29431, 25302, 37689, 33560, 45947, 41818, 54205
   \              D66239931883
   \              7BB35AA3BDD3
   \   0000003A   9CC3FFF3DEE3       DC16 50076, 62463, 58334, 9314, 13379, 1056, 5121, 25830, 29895, 17572
   \              622443342004
   \              0114E664C774
   \              A444        
   \   0000004E   85546AA54BB5       DC16 21637, 42346, 46411, 34088, 38153, 58862, 62927, 50604, 54669
   \              28850995EEE5
   \              CFF5ACC58DD5
   \   00000060   533672261116       DC16 13907, 9842, 5649, 1584, 30423, 26358, 22165, 18100, 46939, 42874
   \              3006D776F666
   \              9556B4465BB7
   \              7AA7        
   \   00000074   19973887DFF7       DC16 38681, 34616, 63455, 59390, 55197, 51132, 18628, 22757, 26758
   \              FEE79DD7BCC7
   \              C448E5588668
   \   00000086   A77840086118       DC16 30887, 2112, 6241, 10242, 14371, 51660, 55789, 59790, 63919, 35144
   \              02282338CCC9
   \              EDD98EE9AFF9
   \              4889        
   \   0000009A   69990AA92BB9       DC16 39273, 43274, 47403, 23285, 19156, 31415, 27286, 6769, 2640, 14899
   \              F55AD44AB77A
   \              966A711A500A
   \              333A        
   \   000000AE   122AFDDBDCCB       DC16 10770, 56317, 52188, 64447, 60318, 39801, 35672, 47931, 43802
   \              BFFB9EEB799B
   \              588B3BBB1AAB
   \   000000C0   A66C877CE44C       DC16 27814, 31879, 19684, 23749, 11298, 15363, 3168, 7233, 60846, 64911
   \              C55C222C033C
   \              600C411CAEED
   \              8FFD        
   \   000000D4   ECCDCDDD2AAD       DC16 52716, 56781, 44330, 48395, 36200, 40265, 32407, 28342, 24277
   \              0BBD688D499D
   \              977EB66ED55E
   \   000000E6   F44E133E322E       DC16 20212, 15891, 11826, 7761, 3696, 65439, 61374, 57309, 53244, 48923
   \              511E700E9FFF
   \              BEEFDDDFFCCF
   \              1BBF        
   \   000000FA   3AAF599F788F       DC16 44858, 40793, 36728, 37256, 33193, 45514, 41451, 53516, 49453
   \              8891A981CAB1

⌨️ 快捷键说明

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