C51 COMPILER V8.01   MAIN                                                                  09/05/2017 17:55:54 PAGE 1   


C51 COMPILER V8.01, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN main.OBJ
COMPILER INVOKED BY: C:\Keil_uv3\C51\BIN\C51.EXE main.c BROWSE NOAREGS DEBUG OBJECTEXTEND

line level    source

   1          
   2          #define         uCHAR   unsigned char
   3          #define         uINT    unsigned int
   4          
   5          #include "REG_MA82G5Dxx.H"
   6          
   7          
   8          
   9          void Initial_IO(void)
  10          {
  11   1              P1 = 0x00;                                      //P1, P2, P4 IO output low
  12   1              P2 = 0x00;
  13   1              P4 = 0x00;
  14   1              
  15   1              P1M0 = 0xFF;
  16   1              P2M0 = 0xFF;
  17   1              P4M0 = 0xFF;                            //P1, P2, P4 configure to open-drain with internal pull-up resistor.
  18   1      }
  19          
  20          void main(void)
  21          {
  22   1              Initial_IO();
  23   1      
  24   1              TMOD = 0x22;
  25   1              TL1 = TH1 = 0xF0;
  26   1              TF1 = 0;
  27   1              TR1 = 1;
  28   1      
  29   1              while(1)
  30   1              {
  31   2                      P10 = ~P10;
  32   2                      P20 = ~P20;
  33   2                      P30 = ~P30;
  34   2                      P40 = ~P40;
  35   2                      while(!TF1);
  36   2                      TF1 = 0;
  37   2              }
  38   1      }


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