C51 COMPILER V8.08   流水灯加穇胈器                                                        07/14/2014 17:18:01 PAGE 1   


C51 COMPILER V8.08, COMPILATION OF MODULE 流水灯加穇胈器
OBJECT MODULE PLACED IN 流水灯加蜂鸣器.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE 流水灯加蜂鸣器.c BROWSE DEBUG OBJECTEXTEND

line level    source

   1          #include <reg52.h>
   2          #include <intrins.h>
   3          #define uchar unsigned char
   4          #define uint  unsigned int
   5          sbit beep = P2^3;
   6          
   7          uchar i;
   8          uchar temp;
   9          
  10          void delay(uint z)
  11          {
  12   1              uint x,y;
  13   1              for(x = z; x > 0; x--)
  14   1                      for(y = 120; y > 0 ; y--);
  15   1      }
  16          
  17          void main()
  18          {
  19   1              temp = 0x7f;
  20   1              while(1)
  21   1              {
  22   2                      for(i = 0; i < 8; i++)
  23   2                      {
  24   3                              P1 = temp;
  25   3                              beep = ~beep;
  26   3                              temp = _cror_(temp,1);
  27   3                              delay(500);     
  28   3                      }
  29   2              } 
  30   1      }


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