C51 COMPILER V9.01   INTER1                                                                08/24/2014 12:56:14 PAGE 1   


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

line level    source

   1          #include<reg51.h>
   2          #define LED P1
   3          void delay(int);
   4          void main( )
   5            {  
   6   1            IE=0x081;
   7   1            TCON=0x01;
   8   1            LED=0x00;
   9   1            while(1)
  10   1            {
  11   2               int i;
  12   2               LED=0x01;
  13   2               for(i=0;i<=7;i++)
  14   2                  {
  15   3                    delay(200);
  16   3                    LED=(LED<<1);
  17   3                  }
  18   2             }
  19   1        }
  20            void  inter0(void) interrupt 0
  21           {
  22   1             int i;
  23   1             LED=0x03;
  24   1             for(i=0;i<6;i++)
  25   1                  {
  26   2                    delay(200);
  27   2                    LED=(LED<<1);
  28   2                  }
  29   1         
  30   1      
  31   1        }
  32            
  33            void delay(int x)
  34            {
  35   1           int i,j;
  36   1           for(i=0;i<x;i++)
  37   1             for(j=0;j<1200;j++);
  38   1        }
  39          
  40          
  41          
  42          
  43                   


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


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