; generated by Component: ARM Compiler 5.06 update 7 (build 960) Tool: ArmCC [4d365d]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o..\output\main.o --asm_dir=..\List\ --list_dir=..\List\ --depend=..\output\main.d --cpu=Cortex-M0+ --apcs=interwork --diag_suppress=9931 -I..\FWLib\SC32F1XXX_Lib\inc -I..\User\HeadFiles -I..\User -I..\Drivers -I..\Apps -I..\CMSIS -IF:\Keil_ARMV5.36_pack\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0plus\Include -D__UVISION_VERSION=536 -DARMCM0P -DSC32f10xx --omf_browse=..\output\main.crf ..\User\main.c]
                          THUMB

                          AREA ||i._sys_exit||, CODE, READONLY, ALIGN=1

                  _sys_exit PROC
;;;30     //_sys_exit()Աʹðģʽ
;;;31     void _sys_exit ( int x )
000000  4770              BX       lr
;;;32     {
;;;33         x = x;
;;;34     }
;;;35     #if defined(SC32f10xx)||defined(SC32f12xx)
                          ENDP


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

                  fputc PROC
;;;36     /* UART3Ϣӡʹ */
;;;37     int fputc ( int c, FILE* f )
000000  b570              PUSH     {r4-r6,lr}
;;;38     {
;;;39         UART_SendData ( UART3, ( uint8_t ) c );
000002  4d09              LDR      r5,|L2.40|
000004  4604              MOV      r4,r0                 ;38
000006  b2c1              UXTB     r1,r0
000008  4628              MOV      r0,r5
00000a  f7fffffe          BL       UART_SendData
                  |L2.14|
;;;40         while ( !UART_GetFlagStatus ( UART3, UART_Flag_TX ) );
00000e  2102              MOVS     r1,#2
000010  4628              MOV      r0,r5
000012  f7fffffe          BL       UART_GetFlagStatus
000016  2800              CMP      r0,#0
000018  d0f9              BEQ      |L2.14|
;;;41         UART_ClearFlag ( UART3, UART_Flag_TX );
00001a  2102              MOVS     r1,#2
00001c  4628              MOV      r0,r5
00001e  f7fffffe          BL       UART_ClearFlag
;;;42         return c;
000022  4620              MOV      r0,r4
;;;43     }
000024  bd70              POP      {r4-r6,pc}
;;;44     #endif
                          ENDP

000026  0000              DCW      0x0000
                  |L2.40|
                          DCD      0x40022020

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

                  main PROC
;;;44     #endif
;;;45     int main ( void )
000000  b50e              PUSH     {r1-r3,lr}
;;;46     {
;;;47         /*<Generated by EasyCodeCube begin>*/
;;;48         /*<UserCodeStart>*//*<SinOne-Tag><36>*/
;;;49         SC_Init();        //HLCK ƵΪ1Ƶ
000002  f7fffffe          BL       SC_Init
;;;50     #if defined(SC32f10xx)||defined(SC32f12xx)
;;;51         /* ʼUART3ΪUART3TX_PB14RX_PB13 */
;;;52         RCC_APB2Cmd ( ENABLE ); //APB0ʱ
000006  2001              MOVS     r0,#1
000008  f7fffffe          BL       RCC_APB2Cmd
;;;53         RCC_APB2PeriphClockCmd ( RCC_APB2Periph_UART3, ENABLE ); //UART3ʱ
00000c  2101              MOVS     r1,#1
00000e  2004              MOVS     r0,#4
000010  f7fffffe          BL       RCC_APB2PeriphClockCmd
;;;54     
;;;55         {
;;;56             UART_InitTypeDef UART_InitStruct;
;;;57             UART_InitStruct.UART_BaudRate = 115200;
000014  20e1              MOVS     r0,#0xe1
000016  0240              LSLS     r0,r0,#9
;;;58     
;;;59             UART_InitStruct.UART_ClockFrequency = 32000000;
000018  9001              STR      r0,[sp,#4]
00001a  480c              LDR      r0,|L3.76|
;;;60     
;;;61             UART_InitStruct.UART_Mode = UART_Mode_10B;
00001c  9000              STR      r0,[sp,#0]
00001e  2001              MOVS     r0,#1
;;;62     
;;;63             UART_Init ( UART3, &UART_InitStruct );
000020  4c0b              LDR      r4,|L3.80|
000022  9002              STR      r0,[sp,#8]
000024  4669              MOV      r1,sp
000026  4620              MOV      r0,r4
000028  f7fffffe          BL       UART_Init
;;;64     
;;;65             UART_TXCmd ( UART3, ENABLE );
00002c  2101              MOVS     r1,#1
00002e  4620              MOV      r0,r4
000030  f7fffffe          BL       UART_TXCmd
;;;66             UART_RXCmd ( UART3, ENABLE );
000034  2101              MOVS     r1,#1
000036  4620              MOV      r0,r4
000038  f7fffffe          BL       UART_RXCmd
;;;67         }
;;;68         __enable_irq(); // ж
00003c  b662              CPSIE    i
;;;69     #if defined(SC32f12xx)
;;;70         printf ( "\r\n This is SC32F12xx Demo!!! \r\n" );
;;;71     #elif defined(SC32f10xx)
;;;72         printf ( "\r\n This is SC32F10xx Demo!!! \r\n" );	
00003e  a005              ADR      r0,|L3.84|
000040  f7fffffe          BL       __2printf
;;;73     #endif
;;;74     #endif
;;;75     
;;;76         /*<Generated by EasyCodeCube begin>*/
;;;77     #if (TestNum == 1)
;;;78         GPIO_InOut_Function();
000044  f7fffffe          BL       GPIO_InOut_Function
                  |L3.72|
;;;79     #elif (TestNum == 2)
;;;80         ADC_SingleConversion_Function();
;;;81     #elif (TestNum == 3)
;;;82         BTM_Base_Function();
;;;83     #elif (TestNum == 4)
;;;84         CMP_Interrupt_Function();
;;;85     #elif (TestNum == 5)
;;;86         CRC_CalculateArrays_Function();
;;;87     #elif (TestNum == 6)
;;;88         DMA_Burst_Function();
;;;89     #elif (TestNum == 7)
;;;90         DMA_Pause_Function();
;;;91     #elif (TestNum == 8)
;;;92         DMA_ScatterGather_Function();
;;;93     #elif (TestNum == 9)
;;;94         INT_Example_Function();
;;;95     #elif (TestNum == 10)
;;;96         IAP_ReadUID_Example();
;;;97     #elif (TestNum == 11)
;;;98         IAP_Program_Function();
;;;99     #elif (TestNum == 12)
;;;100        RCC_SystemClockConfig_Function();
;;;101    #elif (TestNum == 13)
;;;102        SPI_Communication_Function();
;;;103    #elif (TestNum == 14)
;;;104        SPI_FIFOMaster_Function();
;;;105    #elif (TestNum == 15)
;;;106        SPI_FIFOSlave_Function();
;;;107    #elif (TestNum == 16)
;;;108        SPI_Communication_DMA_Function();
;;;109    #elif (TestNum == 17)
;;;110        TIM_TimeBase_Function();
;;;111    #elif (TestNum == 18)
;;;112        TIM_CounterBase_Function();
;;;113    #elif (TestNum == 19)
;;;114        TIM_PWMOutput_Function();
;;;115    #elif (TestNum == 20)
;;;116        TIM_InputCapture_Function();
;;;117    #elif (TestNum == 21)
;;;118        TIM_TI_DMA_Function();
;;;119    #elif (TestNum == 22)
;;;120        TWI_Communication_Function();
;;;121    #elif (TestNum == 23)
;;;122        TWI_Master_DMA_Function();
;;;123    #elif (TestNum == 24)
;;;124        TWI_Slave_DMA_Function();
;;;125    #elif (TestNum == 25)
;;;126        UART_Communication_Function();
;;;127    #elif (TestNum == 26)
;;;128        UART_Communication_DMA_Function();
;;;129    #elif (TestNum == 27)
;;;130        SYSTICK_Example_Function();
;;;131    #elif (TestNum == 28)
;;;132        STOP_IDLE_WakeUp_Function();
;;;133    
;;;134    #endif
;;;135    #if defined(SC32f10xx)||defined(SC32f12xx)
;;;136    #if (TestNum == 29)
;;;137        ADC_CycleConversion_DMA_Function();
;;;138    #elif (TestNum == 30)
;;;139        CMP_AnalogWatchdog_Function();
;;;140    #elif (TestNum == 31)
;;;141        LCD_Example_Function();
;;;142    #elif (TestNum == 32)
;;;143        LED_Example_Function();
;;;144    #elif (TestNum == 33)
;;;145        PWM_Independent_Function();
;;;146    #elif (TestNum == 34)
;;;147        PWM_Complementary_Function();
;;;148    #elif (TestNum == 35)
;;;149        LEDPWM_Example_Function();
;;;150    #endif
;;;151    #if defined(SC32f12xx)
;;;152    #if (TestNum == 36)				 
;;;153      	UART_LINMaster_Function	();
;;;154    #elif (TestNum == 37)		
;;;155      	UART_LINSlave_Function();
;;;156    #elif (TestNum == 38)
;;;157        OP_AmplifiesVoltage_Function();
;;;158    
;;;159    #endif
;;;160    #endif
;;;161    
;;;162    
;;;163    #endif
;;;164    
;;;165        /*****MainLoop*****/
;;;166        while ( 1 )
000048  e7fe              B        |L3.72|
;;;167        {
;;;168            /*<UserCodeStart>*//*<SinOne-Tag><14>*/
;;;169            /***User program***/
;;;170            /*<UserCodeEnd>*//*<SinOne-Tag><14>*/
;;;171            /*<Begin-Inserted by EasyCodeCube for Condition>*/
;;;172        }
;;;173        /*<UserCodeEnd>*//*<SinOne-Tag><4>*/
;;;174    
;;;175        /*<Generated by EasyCodeCube end>*/
;;;176    
;;;177    }
                          ENDP

00004a  0000              DCW      0x0000
                  |L3.76|
                          DCD      0x01e84800
                  |L3.80|
                          DCD      0x40022020
                  |L3.84|
000054  0d0a2054          DCB      "\r\n This is SC32F10xx Demo!!! \r\n",0
000058  68697320
00005c  69732053
000060  43333246
000064  31307878
000068  2044656d
00006c  6f212121
000070  200d0a00

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

                  __stdout
                          DCD      0x00000000

;*** Start embedded assembler ***

#line 1 "..\\User\\main.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___6_main_c_9275e5e5____REV16|
#line 463 "..\\CMSIS\\cmsis_armcc.h"
|__asm___6_main_c_9275e5e5____REV16| PROC
#line 464

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___6_main_c_9275e5e5____REVSH|
#line 478
|__asm___6_main_c_9275e5e5____REVSH| PROC
#line 479

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***

                  __ARM_use_no_argv EQU 0
