; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\demo_hal_crc.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\demo_hal_crc.d --cpu=Cortex-M0 --apcs=interwork -O0 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\S8 -I..\..\src\app\touch -I..\..\src\app\module_demo -I..\..\src\app\Mi12Lite -I.\RTE\_WL668 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 --omf_browse=.\objects\demo_hal_crc.crf ..\..\src\app\module_demo\demo_hal_crc.c]
                          THUMB

                          AREA ||i.demo_crc_array_dma_cal||, CODE, READONLY, ALIGN=2

                  demo_crc_array_dma_cal PROC
;;;76     */
;;;77     bool demo_crc_array_dma_cal(void)
000000  b50e              PUSH     {r1-r3,lr}
;;;78     {
;;;79         crc_ctrl_handle_t crc_cfg_para =
000002  4a07              LDR      r2,|L1.32|
000004  ca07              LDM      r2,{r0-r2}
000006  466b              MOV      r3,sp
000008  c307              STM      r3!,{r0-r2}
;;;80         {
;;;81             CRC_32_POL_VALUE0,
;;;82             CRC_SEED_VALUE_0,
;;;83             CRC_32_BIT_PROTOCOL,
;;;84             CRC_FXOR_ENABLE,
;;;85             CRC_REV_ONLY_BITS_TRANSPOSE,
;;;86             CRC_REV_ONLY_BITS_TRANSPOSE
;;;87         };
;;;88     
;;;89         hal_crc_dma_init(&crc_cfg_para, demo_crc_dma_callback, sg_crc32_arry, CRC_ELEMENT_MAX_TATOL);
00000a  2320              MOVS     r3,#0x20
00000c  4a05              LDR      r2,|L1.36|
00000e  4906              LDR      r1,|L1.40|
000010  4668              MOV      r0,sp
000012  f7fffffe          BL       hal_crc_dma_init
;;;90     
;;;91         hal_crc_dma_start();
000016  f7fffffe          BL       hal_crc_dma_start
;;;92     
;;;93         return true;
00001a  2001              MOVS     r0,#1
;;;94     }
00001c  bd0e              POP      {r1-r3,pc}
;;;95     #else
                          ENDP

00001e  0000              DCW      0x0000
                  |L1.32|
                          DCD      ||.constdata||
                  |L1.36|
                          DCD      sg_crc32_arry
                  |L1.40|
                          DCD      demo_crc_dma_callback

                          AREA ||i.demo_crc_dma_callback||, CODE, READONLY, ALIGN=2

                  demo_crc_dma_callback PROC
;;;66     */
;;;67     void demo_crc_dma_callback(uint32_t calculate_result)
000000  b538              PUSH     {r3-r5,lr}
;;;68     {
000002  4604              MOV      r4,r0
;;;69         TAU_LOGD("dma demo[0x%x]\n", calculate_result);
000004  bf00              NOP      
000006  2345              MOVS     r3,#0x45
000008  a203              ADR      r2,|L2.24|
00000a  a105              ADR      r1,|L2.32|
00000c  2000              MOVS     r0,#0
00000e  9400              STR      r4,[sp,#0]
000010  f7fffffe          BL       tau_log_printf
000014  bf00              NOP      
;;;70     }
000016  bd38              POP      {r3-r5,pc}
;;;71     
                          ENDP

                  |L2.24|
000018  6372632d          DCB      "crc-log",0
00001c  6c6f6700
                  |L2.32|
000020  5b25735d          DCB      "[%s] (%04d) dma demo[0x%x]\n",0
000024  20282530
000028  34642920
00002c  646d6120
000030  64656d6f
000034  5b307825
000038  785d0a00

                          AREA ||i.demo_hal_crc_case||, CODE, READONLY, ALIGN=2

                  demo_hal_crc_case PROC
;;;125    */
;;;126    void demo_hal_crc_case(void)
000000  b510              PUSH     {r4,lr}
;;;127    {
;;;128        TAU_LOGD("HAL CRC DEMO.\n");
000002  bf00              NOP      
000004  2380              MOVS     r3,#0x80
000006  a204              ADR      r2,|L3.24|
000008  a105              ADR      r1,|L3.32|
00000a  2000              MOVS     r0,#0
00000c  f7fffffe          BL       tau_log_printf
000010  bf00              NOP      
;;;129    
;;;130    #if CRC_DMA_CAL_EN
;;;131        demo_crc_array_dma_cal();   // DMA方式计算
000012  f7fffffe          BL       demo_crc_array_dma_cal
;;;132    #else
;;;133        demo_crc_array_cal();       // CPU方式计算
;;;134    #endif
;;;135    
;;;136    }
000016  bd10              POP      {r4,pc}
;;;137    
                          ENDP

                  |L3.24|
000018  6372632d          DCB      "crc-log",0
00001c  6c6f6700
                  |L3.32|
000020  5b25735d          DCB      "[%s] (%04d) HAL CRC DEMO.\n",0
000024  20282530
000028  34642920
00002c  48414c20
000030  43524320
000034  44454d4f
000038  2e0a00  
00003b  00                DCB      0

                          AREA ||.constdata||, DATA, READONLY, ALIGN=2

                          DCD      0x04c11db7
                          DCD      0x00000000
000008  01010101          DCB      0x01,0x01,0x01,0x01

                          AREA ||.data||, DATA, ALIGN=2

                  sg_crc32_arry
                          DCD      0x00000000
                          DCD      0xffffffff
                          DCD      0xaaaaaaaa
                          DCD      0xeeeeeeee
                          DCD      0x55555555
                          DCD      0x66666666
                          DCD      0x11111111
                          DCD      0x77777777
                          DCD      0x12345678
                          DCD      0x456789ab
                          DCD      0x89abcdef
                          DCD      0x3456789a
                          DCD      0x6789abcd
                          DCD      0x9abcdef0
                          DCD      0xbcdef012
                          DCD      0xfedcab98
                          DCD      0x5a5aa5a5
                          DCD      0x37377373
                          DCD      0x98988989
                          DCD      0x76767676
                          DCD      0x41233214
                          DCD      0x67433467
                          DCD      0x91df91df
                          DCD      0x76347634
                          DCD      0x46378912
                          DCD      0x57351059
                          DCD      0xabfc9483
                          DCD      0x837204af
                          DCD      0x41057dba
                          DCD      0x893cd024
                          DCD      0x56378105
                          DCD      0xfa34610b

;*** Start embedded assembler ***

#line 1 "..\\..\\src\\app\\module_demo\\demo_hal_crc.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___14_demo_hal_crc_c_aac8fc6c____REV16|
#line 467 "C:\\Keil_v5\\ARM\\PACK\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
|__asm___14_demo_hal_crc_c_aac8fc6c____REV16| PROC
#line 468

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___14_demo_hal_crc_c_aac8fc6c____REVSH|
#line 482
|__asm___14_demo_hal_crc_c_aac8fc6c____REVSH| PROC
#line 483

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
