⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 display.lst

📁 8255卡驱动,应该不错
💻 LST
字号:
C51 COMPILER V7.06   DISPLAY                                                               07/30/2007 16:03:53 PAGE 1   


C51 COMPILER V7.06, COMPILATION OF MODULE DISPLAY
OBJECT MODULE PLACED IN Display.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Display.c DEBUG OBJECTEXTEND

stmt level    source

   1          #include <_REG51_.H>    
*** WARNING C318 IN LINE 1 OF Display.c: can't open file '_REG51_.H'
   2          unsigned char code Tab[]={0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,
   3                                    0x7F,0x6F,0x77,0x7C,0x39,0x5E,0x79,0x71};
   4          sbit    P20     =       P2^0;
*** ERROR C202 IN LINE 4 OF DISPLAY.C: 'P2': undefined identifier
   5          sbit    P21     =       P2^1;           
*** ERROR C202 IN LINE 5 OF DISPLAY.C: 'P2': undefined identifier
   6          //delay function
   7          void    Delay(uchar     formal_t)  //cost 6uS while rotate once.cost 11uS while called.[at 12MHz crystalloid]
*** ERROR C141 IN LINE 7 OF DISPLAY.C: syntax error near 'formal_t', expected ')'
   8                  {       
   9   1                      uchar   i;
*** ERROR C141 IN LINE 9 OF DISPLAY.C: syntax error near 'i'
*** ERROR C202 IN LINE 9 OF DISPLAY.C: 'i': undefined identifier
  10   1                      i=formal_t;
*** ERROR C202 IN LINE 10 OF DISPLAY.C: 'i': undefined identifier
  11   1                      while(i--){;}
*** ERROR C202 IN LINE 11 OF DISPLAY.C: 'i': undefined identifier
  12   1                              
  13   1              }
  14          
  15          //display function
  16          void    Display(uchar *p)
*** ERROR C141 IN LINE 16 OF DISPLAY.C: syntax error near '*', expected ')'
  17                  {
  18   1                      uchar   i,p2tmp=0xfe;
*** ERROR C141 IN LINE 18 OF DISPLAY.C: syntax error near 'i'
*** ERROR C202 IN LINE 18 OF DISPLAY.C: 'i': undefined identifier
  19   1                      for(i=0;i<8;i++)
*** ERROR C202 IN LINE 19 OF DISPLAY.C: 'i': undefined identifier
  20   1                              {
  21   2                                      P2=0xFF;
*** ERROR C202 IN LINE 21 OF DISPLAY.C: 'P2': undefined identifier
  22   2                                      P0=Tab[*p];
*** ERROR C202 IN LINE 22 OF DISPLAY.C: 'P0': undefined identifier
  23   2                                      P2=p2tmp;                               
*** ERROR C202 IN LINE 23 OF DISPLAY.C: 'P2': undefined identifier
  24   2                                      Delay(5);       //delay for 11+5*6=41uS.
  25   2                                      p++;
*** ERROR C202 IN LINE 25 OF DISPLAY.C: 'p': undefined identifier
  26   2                                      p2tmp<<=1;
*** ERROR C202 IN LINE 26 OF DISPLAY.C: 'p2tmp': undefined identifier
  27   2                                      p2tmp|=0x01;
*** ERROR C202 IN LINE 27 OF DISPLAY.C: 'p2tmp': undefined identifier
  28   2                              }                                       
  29   1              
  30   1                                                      
  31   1              }
  32          
  33          /*
  34          void    Delay   (uchar  formal_t);
  35          void    Display (uchar  formal_dat);
  36          */

C51 COMPILATION COMPLETE.  1 WARNING(S),  17 ERROR(S)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -