; generated by ARM C/C++ Compiler, 5.03 [Build 76]
; commandline ArmCC [--list --debug -c --asm --interleave -o.\obj\main.o --asm_dir=.\ --list_dir=.\ --depend=.\obj\main.d --cpu=Cortex-M3 --apcs=interwork -O0 -I.\FWlib\inc -I.\user -ID:\Circuits\Keil\ARM\RV31\INC -ID:\Circuits\Keil\ARM\PACK\ARM\CMSIS\3.20.3\CMSIS\Include -ID:\Circuits\Keil\ARM\PACK\Keil\STM32F1xx_DFP\1.0.2\Device\Include -ID:\Circuits\Keil\ARM\Inc\?ST\STM32F10x -D__MICROLIB -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -DSTM32F10X_HD --omf_browse=.\obj\main.crf user\main.c]
                          THUMB

                          AREA ||.text||, CODE, READONLY, ALIGN=2

                  Delay PROC
;;;60     
;;;61     void Delay(__IO uint32_t nCount)
000000  b501              PUSH     {r0,lr}
;;;62     {
;;;63       for(; nCount != 0; nCount--);
000002  e002              B        |L1.10|
                  |L1.4|
000004  9800              LDR      r0,[sp,#0]
000006  1e40              SUBS     r0,r0,#1
000008  9000              STR      r0,[sp,#0]
                  |L1.10|
00000a  9800              LDR      r0,[sp,#0]
00000c  2800              CMP      r0,#0
00000e  d1f9              BNE      |L1.4|
;;;64     }
000010  bd08              POP      {r3,pc}
                          ENDP

                  GPIO_Configuration PROC
;;;46     
;;;47     void GPIO_Configuration()
000012  b510              PUSH     {r4,lr}
;;;48     {
;;;49     	GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6|GPIO_Pin_7;
000014  20c0              MOVS     r0,#0xc0
000016  4929              LDR      r1,|L1.188|
000018  8008              STRH     r0,[r1,#0]
;;;50       GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
00001a  2010              MOVS     r0,#0x10
00001c  70c8              STRB     r0,[r1,#3]
;;;51       GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
00001e  2003              MOVS     r0,#3
000020  7088              STRB     r0,[r1,#2]
;;;52       GPIO_Init(GPIOC, &GPIO_InitStructure);
000022  4827              LDR      r0,|L1.192|
000024  f7fffffe          BL       GPIO_Init
;;;53     
;;;54       GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6|GPIO_Pin_13;
000028  f44f5001          MOV      r0,#0x2040
00002c  4923              LDR      r1,|L1.188|
00002e  8008              STRH     r0,[r1,#0]
;;;55     	GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
000030  2010              MOVS     r0,#0x10
000032  70c8              STRB     r0,[r1,#3]
;;;56       GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
000034  2003              MOVS     r0,#3
000036  7088              STRB     r0,[r1,#2]
;;;57       GPIO_Init(GPIOD, &GPIO_InitStructure);
000038  4822              LDR      r0,|L1.196|
00003a  f7fffffe          BL       GPIO_Init
;;;58     }
00003e  bd10              POP      {r4,pc}
;;;59     
                          ENDP

                  RCC_Configuration PROC
;;;37     
;;;38     void RCC_Configuration(void)
000040  b510              PUSH     {r4,lr}
;;;39     {   
;;;40       SystemInit();
000042  f7fffffe          BL       SystemInit
;;;41     	
;;;42     	RCC_APB2PeriphClockCmd( RCC_APB2Periph_USART1 |RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB |
000046  2101              MOVS     r1,#1
000048  f244007c          MOV      r0,#0x407c
00004c  f7fffffe          BL       RCC_APB2PeriphClockCmd
;;;43                              RCC_APB2Periph_GPIOC | RCC_APB2Periph_GPIOD |
;;;44                              RCC_APB2Periph_GPIOE, ENABLE);
;;;45     }
000050  bd10              POP      {r4,pc}
;;;46     
                          ENDP

                  main PROC
;;;9      
;;;10     int main(void)
000052  f7fffffe          BL       RCC_Configuration
;;;11     {
;;;12       RCC_Configuration();   
;;;13       
;;;14       GPIO_Configuration();
000056  f7fffffe          BL       GPIO_Configuration
;;;15       
;;;16       while (1)
00005a  e02d              B        |L1.184|
                  |L1.92|
;;;17       {
;;;18         GPIO_SetBits(GPIOC, GPIO_Pin_6);                  
00005c  2140              MOVS     r1,#0x40
00005e  4818              LDR      r0,|L1.192|
000060  f7fffffe          BL       GPIO_SetBits
;;;19         Delay(0xAFFFF);
000064  4818              LDR      r0,|L1.200|
000066  f7fffffe          BL       Delay
;;;20     
;;;21         GPIO_SetBits(GPIOC, GPIO_Pin_7 );
00006a  2180              MOVS     r1,#0x80
00006c  4814              LDR      r0,|L1.192|
00006e  f7fffffe          BL       GPIO_SetBits
;;;22         GPIO_ResetBits(GPIOC, GPIO_Pin_6);
000072  2140              MOVS     r1,#0x40
000074  4812              LDR      r0,|L1.192|
000076  f7fffffe          BL       GPIO_ResetBits
;;;23         Delay(0xAFFFF);
00007a  4813              LDR      r0,|L1.200|
00007c  f7fffffe          BL       Delay
;;;24     
;;;25         GPIO_SetBits(GPIOD, GPIO_Pin_13 );
000080  f44f5100          MOV      r1,#0x2000
000084  480f              LDR      r0,|L1.196|
000086  f7fffffe          BL       GPIO_SetBits
;;;26         GPIO_ResetBits(GPIOC, GPIO_Pin_7);
00008a  2180              MOVS     r1,#0x80
00008c  480c              LDR      r0,|L1.192|
00008e  f7fffffe          BL       GPIO_ResetBits
;;;27         Delay(0xAFFFF);
000092  480d              LDR      r0,|L1.200|
000094  f7fffffe          BL       Delay
;;;28     
;;;29         GPIO_SetBits(GPIOD, GPIO_Pin_6 );
000098  2140              MOVS     r1,#0x40
00009a  480a              LDR      r0,|L1.196|
00009c  f7fffffe          BL       GPIO_SetBits
;;;30         GPIO_ResetBits(GPIOD, GPIO_Pin_13);
0000a0  f44f5100          MOV      r1,#0x2000
0000a4  4807              LDR      r0,|L1.196|
0000a6  f7fffffe          BL       GPIO_ResetBits
;;;31         Delay(0xAFFFF);
0000aa  4807              LDR      r0,|L1.200|
0000ac  f7fffffe          BL       Delay
;;;32     
;;;33         GPIO_ResetBits(GPIOD, GPIO_Pin_6);
0000b0  2140              MOVS     r1,#0x40
0000b2  4804              LDR      r0,|L1.196|
0000b4  f7fffffe          BL       GPIO_ResetBits
                  |L1.184|
0000b8  e7d0              B        |L1.92|
;;;34       }
;;;35     }
;;;36     
                          ENDP

0000ba  0000              DCW      0x0000
                  |L1.188|
                          DCD      GPIO_InitStructure
                  |L1.192|
                          DCD      0x40011000
                  |L1.196|
                          DCD      0x40011400
                  |L1.200|
                          DCD      0x000affff

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

                  GPIO_InitStructure
                          DCDU     0x00000000

                  __ARM_use_no_argv EQU 0
