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

📄 other.lst

📁 实验在Keil 3平台上调试通过
💻 LST
字号:
C51 COMPILER V8.08   OTHER                                                                 01/08/2008 16:18:24 PAGE 1   


C51 COMPILER V8.08, COMPILATION OF MODULE OTHER
OBJECT MODULE PLACED IN other.obj
COMPILER INVOKED BY: d:\program files\Keil\C51\BIN\C51.EXE source\other.c BROWSE INCDIR(.\source;D:\Program Files\Keil\C
                    -51\INC) DEFINE(CC1110) DEBUG OBJECTEXTEND PRINT(.\other.lst) OBJECT(other.obj)

line level    source

   1          //include other
   2          #include <chipcon/ioCC1110.h>
   3          
   4          #define uchar unsigned
   5          #define uint unsigned int
   6          
   7          
   8          void halWait(uchar wait){
   9   1         unsigned long largeWait;
  10   1      
  11   1         if(wait == 0)
  12   1         {return;}
  13   1         largeWait = ((uint) (wait << 7));
  14   1         largeWait += 114*wait;
  15   1      
  16   1      
  17   1         largeWait = (largeWait >> CLKSPD);
*** ERROR C202 IN LINE 17 OF SOURCE\OTHER.C: 'CLKSPD': undefined identifier
  18   1         while(largeWait--);
  19   1      
  20   1         return;
  21   1      }
  22          
  23          
  24          void LoadICO(void)
  25          {
  26   1      
  27   1              uchar i,j;
  28   1              for(i=0; i<8; i++)
  29   1              {
  30   2                      SetRamAddr(i , 0);
  31   2                      for(j = 0;j < 112;j++)
  32   2                      {
  33   3                              Lcdwritedata(WXL112X64[j+i*112]);
  34   3                      }
  35   2              }
  36   1      }
  37          
  38          
  39          void halWait(uchar wait){
  40   1         unsigned long largeWait;
  41   1      
  42   1         if(wait == 0)
  43   1         {return;}
  44   1         largeWait = ((uint) (wait << 7));
  45   1         largeWait += 114*wait;
  46   1      
  47   1      
  48   1         largeWait = (largeWait >> CLKSPD);
  49   1         while(largeWait--);
  50   1      
  51   1         return;
  52   1      }

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

⌨️ 快捷键说明

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