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

📄 main.lst

📁 这是单片机C51典型应用设计代码
💻 LST
字号:
C51 COMPILER V7.07   MAIN                                                                  11/16/2004 11:30:41 PAGE 1   


C51 COMPILER V7.07, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN c:\keil\projects\libraries_samples\HelloWorld\main.obj
COMPILER INVOKED BY: c:\keil\C51\bin\C51.EXE c:\keil\projects\libraries_samples\HelloWorld\main.c LARGE OMF2 ROM(D16M) O
                    -PTIMIZE(9,SPEED) BROWSE NOINTVECTOR MODDP2 MODDA VARBANKING DEBUG INCDIR(C:\Keil\C51\INC\Dallas;c:\keil\projects\librari
                    -es_samples\HelloWorld) OBJECT(c:\keil\projects\libraries_samples\HelloWorld\main.obj)

stmt level    source

   1          /* ---------------------------------------------------------------------------
   2           *  Copyright (C) 2003 Dallas Semiconductor Corporation, All Rights Reserved.
   3           * 
   4           *  Permission is hereby granted, free of charge, to any person obtaining a
   5           *  copy of this software and associated documentation files (the "Software"),
   6           *  to deal in the Software without restriction, including without limitation
   7           *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
   8           *  and/or sell copies of the Software, and to permit persons to whom the
   9           *  Software is furnished to do so, subject to the following conditions:
  10           * 
  11           *  The above copyright notice and this permission notice shall be included
  12           *  in all copies or substantial portions of the Software.
  13           * 
  14           *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  15           *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16           *  MERCHANTABILITY,  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  17           *  IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES
  18           *  OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  19           *  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  20           *  OTHER DEALINGS IN THE SOFTWARE.
  21           * 
  22           *  Except as contained in this notice, the name of Dallas Semiconductor
  23           *  shall not be used except as stated in the Dallas Semiconductor
  24           *  Branding Policy.
  25           * ---------------------------------------------------------------------------
  26           */
  27          
  28          /*
  29           * HelloWorld - template project for working in C with the DS80C400.
  30           *
  31           */
  32          #include "rom400_init.h"
  33          #include <stdio.h>
  34          
  35          // leave 4000h bytes for function parameters
  36          #define RAM_START             0x14000          
  37          #define RAM_END               0x5FFFF
  38          
  39          
  40          /*
  41           * Main entry point.  Initialize the ROM.
  42           */
  43          void main()
  44          {
  45   1          printf("DS80C400 Template Project\r\n");
  46   1          init_rom(RAM_START, RAM_END);
  47   1      
  48   1          // let's print out a little version information...
  49   1          printf("DS80C400 Initialization Library Version %d\r\n", init_version());
  50   1      
  51   1          while(1)
  52   1              {
  53   2              }
C51 COMPILER V7.07   MAIN                                                                  11/16/2004 11:30:41 PAGE 2   

  54   1      
  55   1      }
  56          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     63    ----
   CONSTANT SIZE    =     73    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
   EDATA SIZE       =   ----    ----
   HDATA SIZE       =   ----    ----
   XDATA CONST SIZE =   ----    ----
   FAR CONST SIZE   =   ----    ----
END OF MODULE INFORMATION.


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

⌨️ 快捷键说明

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