; 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 -D__UVISION_VERSION=536 -DSC32f12xx --omf_browse=..\output\main.crf ..\User\main.c]
                          THUMB

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

                  main PROC
;;;30       */
;;;31     int main(void)
000000  f7fffffe          BL       IcResourceInit
;;;32     {
;;;33         /*<Generated by EasyCodeCube begin>*/
;;;34         /*<UserCodeStart>*//*<SinOne-Tag><36>*/
;;;35         IcResourceInit();
;;;36         OLED_Init();
000004  f7fffffe          BL       OLED_Init
;;;37         OLED_Clear();
000008  f7fffffe          BL       OLED_Clear
;;;38         OLED_ShowCHinese( 0 , 0 , 0 );
00000c  2200              MOVS     r2,#0
00000e  4611              MOV      r1,r2
000010  4610              MOV      r0,r2
000012  f7fffffe          BL       OLED_ShowCHinese
;;;39         OLED_ShowCHinese( 18 , 0 , 1 );
000016  2201              MOVS     r2,#1
000018  2100              MOVS     r1,#0
00001a  2012              MOVS     r0,#0x12
00001c  f7fffffe          BL       OLED_ShowCHinese
;;;40         OLED_ShowCHinese( 36 , 0 , 2 );
000020  2202              MOVS     r2,#2
000022  2100              MOVS     r1,#0
000024  2024              MOVS     r0,#0x24
000026  f7fffffe          BL       OLED_ShowCHinese
;;;41         OLED_ShowCHinese( 0 , 2 , 3 );
00002a  2203              MOVS     r2,#3
00002c  2102              MOVS     r1,#2
00002e  2000              MOVS     r0,#0
000030  f7fffffe          BL       OLED_ShowCHinese
;;;42         OLED_ShowCHinese( 18 , 2 , 1 );
000034  2201              MOVS     r2,#1
000036  2102              MOVS     r1,#2
000038  2012              MOVS     r0,#0x12
00003a  f7fffffe          BL       OLED_ShowCHinese
;;;43         OLED_ShowCHinese( 36 , 2 , 2 );
00003e  2202              MOVS     r2,#2
000040  4611              MOV      r1,r2
000042  2024              MOVS     r0,#0x24
000044  f7fffffe          BL       OLED_ShowCHinese
;;;44         OLED_ShowCHinese( 0 , 4 , 4 );
000048  2204              MOVS     r2,#4
00004a  4611              MOV      r1,r2
00004c  2000              MOVS     r0,#0
00004e  f7fffffe          BL       OLED_ShowCHinese
;;;45         OLED_ShowCHinese( 18 , 4 , 5 );
000052  2205              MOVS     r2,#5
000054  2104              MOVS     r1,#4
000056  2012              MOVS     r0,#0x12
000058  f7fffffe          BL       OLED_ShowCHinese
;;;46         /*<UserCodeEnd>*//*<SinOne-Tag><36>*/
;;;47         /*<UserCodeStart>*//*<SinOne-Tag><4>*/
;;;48         /*****MainLoop*****/
;;;49         while(1)
;;;50         {
;;;51             /*<UserCodeStart>*//*<SinOne-Tag><14>*/
;;;52             /***User program***/
;;;53             ///㸺 
;;;54             NegativeWidth=FSYSHRC*NegaWidth[TimeIndex];	 
00005c  4f14              LDR      r7,|L1.176|
00005e  2604              MOVS     r6,#4
000060  43f6              MVNS     r6,r6
                  |L1.98|
000062  6838              LDR      r0,[r7,#0]  ; TimeIndex
000064  0085              LSLS     r5,r0,#2
000066  4813              LDR      r0,|L1.180|
000068  5940              LDR      r0,[r0,r5]
00006a  f7fffffe          BL       __aeabi_ui2d
00006e  4632              MOV      r2,r6
000070  f7fffffe          BL       __ARM_scalbn
000074  f7fffffe          BL       __aeabi_d2uiz
000078  490f              LDR      r1,|L1.184|
00007a  4604              MOV      r4,r0
;;;55             ///    						                
;;;56             Cycle=FSYSHRC*CycleWidth[TimeIndex];     
00007c  6008              STR      r0,[r1,#0]  ; NegativeWidth
00007e  480f              LDR      r0,|L1.188|
000080  5940              LDR      r0,[r0,r5]
000082  f7fffffe          BL       __aeabi_ui2d
000086  4632              MOV      r2,r6
000088  f7fffffe          BL       __ARM_scalbn
00008c  f7fffffe          BL       __aeabi_d2uiz
000090  4602              MOV      r2,r0
000092  480b              LDR      r0,|L1.192|
;;;57             /// 
;;;58             PositiveWidth=Cycle-NegativeWidth;      
000094  490b              LDR      r1,|L1.196|
000096  6002              STR      r2,[r0,#0]  ; Cycle
000098  1b10              SUBS     r0,r2,r4
00009a  6008              STR      r0,[r1,#0]  ; PositiveWidth
00009c  4621              MOV      r1,r4
;;;59             Num_Conversion( PositiveWidth , NegativeWidth , Cycle );
00009e  f7fffffe          BL       Num_Conversion
;;;60             Width_OledShow( PWidth , NWidth , Cyc );
0000a2  4a09              LDR      r2,|L1.200|
0000a4  4909              LDR      r1,|L1.204|
0000a6  480a              LDR      r0,|L1.208|
0000a8  f7fffffe          BL       Width_OledShow
0000ac  e7d9              B        |L1.98|
;;;61             /*<UserCodeEnd>*//*<SinOne-Tag><14>*/
;;;62             /*<Begin-Inserted by EasyCodeCube for Condition>*/
;;;63         }
;;;64         /*<UserCodeEnd>*//*<SinOne-Tag><4>*/
;;;65         /*<Generated by EasyCodeCube end>*/
;;;66     }
                          ENDP

0000ae  0000              DCW      0x0000
                  |L1.176|
                          DCD      TimeIndex
                  |L1.180|
                          DCD      NegaWidth
                  |L1.184|
                          DCD      NegativeWidth
                  |L1.188|
                          DCD      CycleWidth
                  |L1.192|
                          DCD      Cycle
                  |L1.196|
                          DCD      PositiveWidth
                  |L1.200|
                          DCD      ||Cyc||
                  |L1.204|
                          DCD      NWidth
                  |L1.208|
                          DCD      PWidth

;*** Start embedded assembler ***

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

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

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***

                  __ARM_use_no_argv EQU 0
