C51 COMPILER V9.01   11                                                                    08/26/2014 11:46:50 PAGE 1   


C51 COMPILER V9.01, COMPILATION OF MODULE 11
OBJECT MODULE PLACED IN 11.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE 11.c BROWSE DEBUG OBJECTEXTEND

line level    source

   1           #include<reg51.h>
   2           sbit P1_0=P1^0;
   3           void delay(void);
   4           void main()
   5           {
   6   1             TMOD=0X01;       //定时器0工作在方式1，采用定时方式
   7   1                 while(1)
   8   1                 {
   9   2                    P1_0=0;
  10   2                        delay();
  11   2                        P1_0=1;
  12   2                        delay();
  13   2                      }
  14   1       }
  15           /* 延时1秒子程序*/
  16           void delay()
  17           {
  18   1          unsigned char i;
  19   1              for(i=0;i<10;i++)
  20   1              {
  21   2                  TH0=0X3C;
  22   2                      TL0=0X0B0;
  23   2                      TR0=1;
  24   2                      while(!TF0);
  25   2                      TF0=0;
  26   2              }
  27   1      }


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     35    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
