C51 COMPILER V9.01   MAICHONG                                                              08/26/2014 14:44:33 PAGE 1   


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

line level    source

   1          #include <reg51.h>
   2          sbit pul=P1^0;  //位定义
   3          void main( )
   4          {
   5   1        TMOD=0x20;       //设置定时器工作方式2
   6   1        TH1=0x38;                //设置定时器T1定时初值
   7   1        TL1=0x38;
   8   1        EA=1;                          //开启中断允许总开关
   9   1        ET1=1;                         //开启定时器T1允许开关
  10   1        TR1=1;                          //启动定时T1
  11   1      }
  12          void inter_1(void) interrupt 3  //定时中断子程序
  13          {
  14   1       pul=!(pul);
  15   1      }


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     19    ----
   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)
