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

📄 startup.lst

📁 Program for ADC0808 with 4 bit LCD routine. It also includes Protus Debug file.
💻 LST
📖 第 1 页 / 共 2 页
字号:

MACRO ASSEMBLER A51 V8.01
NO OBJECT MODULE REQUESTED
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE STARTUP.LST SET(SMALL) DEBUG EP

LOC  OBJ            LINE     SOURCE

                       1     A51 MACRO ASSEMBLER  STARTUP                                                              08/12/2007 16:01:53 PAGE     1
*** ___________________________________________________________________________________________________________________^
*** ERROR #A65 IN 1 (STARTUP.LST, LINE 1): IDENTIFIER EXPECTED
                       2     
                       3     
                       4     MACRO ASSEMBLER A51 V7.07
                       5     OBJECT MODULE PLACED IN .\STARTUP.obj
                       6     ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE E:\顾留刚\8051单片机\示莶杉痋STARTUP.A51 SET(SMALL) DEBUG PRINT(.\STARTUP
                       7                           .lst) OBJECT(.\STARTUP.obj) EP
                       8     
                       9     LOC  OBJ            LINE     SOURCE
                      10     
                      11                            1     $nomod51 
                      12                            2     ;------------------------------------------------------------------------------
                      13                            3     ;  This file is part of the C51 Compiler package
                      14                            4     ;  Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
                      15                            5     ;------------------------------------------------------------------------------
                      16                            6     ;  STARTUP.A51:  This code is executed after processor reset.
                      17                            7     ;
                      18                            8     ;  To translate this file use A51 with the following invocation:
                      19                            9     ;
                      20                           10     ;     A51 STARTUP.A51
                      21                           11     ;
                      22                           12     ;  To link the modified STARTUP.OBJ file to your application use the following
                      23                           13     ;  BL51 invocation:
                      24                           14     ;
                      25                           15     ;     BL51 <your object file list>, STARTUP.OBJ <controls>
                      26                           16     ;
                      27                           17     ;------------------------------------------------------------------------------
                      28                           18     ;
                      29                           19     ;  User-defined Power-On Initialization of Memory
                      30                           20     ;
                      31                           21     ;  With the following EQU statements the initialization of memory
                      32                           22     ;  at processor reset can be defined:
                      33                           23     ;
                      34                           24     ;               ; the absolute start-address of IDATA memory is always 0
                      35       0080                25     IDATALEN        EQU     80H     ; the length of IDATA memory in bytes.
                      36                           26     ;
                      37       0000                27     XDATASTART      EQU     0H      ; the absolute start-address of XDATA memory
                      38       0000                28     XDATALEN        EQU     0H      ; the length of XDATA memory in bytes.
                      39                           29     ;
                      40       0000                30     PDATASTART      EQU     0H      ; the absolute start-address of PDATA memory
                      41       0000                31     PDATALEN        EQU     0H      ; the length of PDATA memory in bytes.
                      42                           32     ;
                      43                           33     ;  Notes:  The IDATA space overlaps physically the DATA and BIT areas of the
                      44                           34     ;          8051 CPU. At minimum the memory space occupied from the C51 
                      45                           35     ;          run-time routines must be set to zero.
                      46                           36     ;------------------------------------------------------------------------------
                      47                           37     ;
                      48                           38     ;  Reentrant Stack Initilization
                      49                           39     ;
                      50                           40     ;  The following EQU statements define the stack pointer for reentrant
                      51                           41     ;  functions and initialized it:
                      52                           42     ;
                      53                           43     ;  Stack Space for reentrant functions in the SMALL model.
                      54       0000                44     IBPSTACK        EQU     0       ; set to 1 if small reentrant is used.
                      55       0100                45     IBPSTACKTOP     EQU     0FFH+1  ; set top of stack to highest location+1.
                      56                           46     ;
A51 MACRO ASSEMBLER  STARTUP                                                              03/10/2009 12:01:54 PAGE     1

                      57                           47     ;  Stack Space for reentrant functions in the LARGE model.      
                      58       0000                48     XBPSTACK        EQU     0       ; set to 1 if large reentrant is used.
                      59       0000                49     XBPSTACKTOP     EQU     0FFFFH+1; set top of stack to highest location+1.
                      60                           50     ;
                      61                           51     ;  Stack Space for reentrant functions in the COMPACT model.    
                      62       0000                52     PBPSTACK        EQU     0       ; set to 1 if compact reentrant is used.
                      63       0000                53     PBPSTACKTOP     EQU     0FFFFH+1; set top of stack to highest location+1.
                      64                           54     ;
                      65                           55     ;------------------------------------------------------------------------------
                      66                           56     ;
                      67                           57     ;  Page Definition for Using the Compact Model with 64 KByte xdata RAM
                      68     A51 MACRO ASSEMBLER  STARTUP                                                              08/12/2007 16:01:53 PAGE     2
                      69     
                      70                           58     ;
                      71                           59     ;  The following EQU statements define the xdata page used for pdata
                      72                           60     ;  variables. The EQU PPAGE must conform with the PPAGE control used
                      73                           61     ;  in the linker invocation.
                      74                           62     ;
                      75       0000                63     PPAGEENABLE     EQU     0       ; set to 1 if pdata object are used.
                      76                           64     ;
                      77       0000                65     PPAGE           EQU     0       ; define PPAGE number.
                      78                           66     ;
                      79       00A0                67     PPAGE_SFR       DATA    0A0H    ; SFR that supplies uppermost address byte
                      80                           68     ;               (most 8051 variants use P2 as uppermost address byte)
                      81                           69     ;
                      82                           70     ;------------------------------------------------------------------------------
                      83                           71     
                      84                           72     ; Standard SFR Symbols 
                      85       00E0                73     ACC     DATA    0E0H
                      86       00F0                74     B       DATA    0F0H
                      87       0081                75     SP      DATA    81H
                      88       0082                76     DPL     DATA    82H
                      89       0083                77     DPH     DATA    83H
                      90                           78     
                      91                           79                     NAME    ?C_STARTUP
                      92                           80     
                      93                           81     
                      94                           82     ?C_C51STARTUP   SEGMENT   CODE
                      95                           83     ?STACK          SEGMENT   IDATA
                      96                           84     
                      97     ----                  85                     RSEG    ?STACK
                      98     0000                  86                     DS      1
                      99                           87     
                     100                           88                     EXTRN CODE (?C_START)
                     101                           89                     PUBLIC  ?C_STARTUP
                     102                           90     
                     103     ----                  91                     CSEG    AT      0
                     104     0000 020000   F       92     ?C_STARTUP:     LJMP    STARTUP1
                     105                           93     
                     106     ----                  94                     RSEG    ?C_C51STARTUP
                     107                           95     
                     108     0000                  96     STARTUP1:
                     109                           97     
                     110                           98     IF IDATALEN <> 0

⌨️ 快捷键说明

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