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

📄 main.lst

📁 本程序演示 :以非利普TEA5767 为核心的
💻 LST
字号:
C51 COMPILER V7.50   MAIN                                                                  05/12/2009 22:59:39 PAGE 1   


C51 COMPILER V7.50, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN main.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE main.c LARGE OPTIMIZE(7,SPEED) BROWSE DEBUG OBJECTEXTEND

line level    source

   1          #include"reg52.h"
   2          #include  "LCM.h"
   3          #include "reg51.h"
   4          #define SOFT_RESET              0x01
   5          #define SLEEP_OUT               0x11
   6          #define DISPLAY_ON              0x29
   7          #define BOOSTER_ON              0x03
   8          #define COLOR_INTERFACE 0x3A
   9          #define COLOR_8_BIT     0x02
  10          #define COLOR_12_BIT    0x03
  11          #define COLOR_16_BIT    0x05
  12          #define COLOR_SET               0x2D
  13          #define MEM_ACCESS_CTRL 0x36
  14          #define MIRROR_X                6
  15          #define MIRROR_Y                7
  16          #define VERT_WRITE      5
  17          #define RGB                     3
  18          #define MEM_WRITE               0x2C
  19          #define SET_X_ADDR              0x2A
  20          #define SET_Y_ADDR              0x2B
  21          #define backc 0xff
  22          #define DISP_X_START    0
  23          #define DISP_Y_START    0
  24          #define DISP_X_END      131
  25          #define DISP_Y_END      131
  26          #define RED                             0xE0
  27          #define GREEN                   0x1C
  28          #define BLUE                    0x03
  29          #define YELLOW                  0xFC
  30          #define MAGENTA                 0xE3
  31          #define CYAN                    0x1F
  32          #define BLACK                   0x00
  33          #define WHITE                   0xFF
  34          #define uchar unsigned char
  35          #define uint unsigned  int
  36          #include"mylib.h"
  37          void display_china1(char *p,uchar f_cl,uchar b_cl,uchar x,uchar y);
  38          void display_char(char *p,uchar f_cl,uchar b_cl,uchar x,uchar y);
  39          
  40          void main(void)//主程序
  41          {
  42   1      n6100Init();
  43   1      display_china1(tong,0xe0,0xff,41,2);
  44   1      display_china1(lian,0xe0,0xff,70,2);
  45   1      display_china1(tong,0x1C,0xff,22,20);
  46   1      display_china1(xin,0x03,0xff,39,20);
  47   1      display_china1(qi,0xFC,0xff,57,20);
  48   1      display_china1(cai,0xE3,0xff,74,20);
  49   1      display_china1(chang,0x1F,0xff,91,20);
  50   1      display_char(s,0xe0,0xff,15,70);
  51   1      display_char(z,0xe0,0xff,25,70);
  52   1      display_char(e,0xe0,0xff,35,70);
  53   1      display_char(a,0xe0,0xff,45,70);
  54   1      display_picture(tu1,0xe0,0xff,70,70);
  55   1      while(1);
C51 COMPILER V7.50   MAIN                                                                  05/12/2009 22:59:39 PAGE 2   

  56   1      
  57   1      }
  58          
  59          


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


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

⌨️ 快捷键说明

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