C51 COMPILER V9.01   22                                                                    08/26/2014 14:14:26 PAGE 1   


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

line level    source

   1                 #include<reg51.h>
   2                     sbit P1_0=P1^0;
   3                     void delay(void);
   4                     int t0_count=0;
   5                     void main()
   6                     {
   7   1                    TMOD=0x01;
   8   1                        EA=1;
   9   1                        ET0=1;
  10   1                        TH0=0x3C;
  11   1                        TL0=0x0B0;
  12   1                        TR0=1;
  13   1                        P1_0=0;
  14   1                        while(1);
  15   1                      }
  16                          /*  定时器0中断服务程序  */
  17                          void timer0(void)  interrupt 1
  18                          {
  19   1                         TH0=0x3C;
  20   1                         TL0=0x0B0;
  21   1                         t0_count++;
  22   1                         if(t0_count==10)
  23   1                         {
  24   2                             t0_count=0;
  25   2                                 P1_0=~P1_0;
  26   2                  }
  27   1                      }


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


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