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

📄 start900.lst

📁 一个针灸治疗仪源代码,包括记时,显示AD采样程序,开发环境keil.使用的芯片PLC89C935
💻 LST
📖 第 1 页 / 共 2 页
字号:
A51 MACRO ASSEMBLER  START900                                                             07/22/2005 19:10:26 PAGE     1


MACRO ASSEMBLER A51 V7.08a
OBJECT MODULE PLACED IN START900.OBJ
ASSEMBLER INVOKED BY: f:\Keil\C51\BIN\A51.EXE START900.A51 SET(LARGE) DEBUG EP

LOC  OBJ            LINE     SOURCE

                       1     ;------------------------------------------------------------------------------
                       2     ;  This file is part of the C51 Compiler package
                       3     ;  Startup Code for the Philips LPC9xx devices 
                       4     ;  Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
                       5     ;  Version 2.0
                       6     ;------------------------------------------------------------------------------
                       7     ;  START900.A51:  This code is executed after processor reset.
                       8     ;  You may add this file to a uVision2 project.
                       9     ;
                      10     ;  To translate this file use Ax51 with the following invocation:
                      11     ;
                      12     ;     Ax51 START900.A51
                      13     ;
                      14     ;  To link the modified START900.OBJ file to your application use the following
                      15     ;  Lx51 invocation:
                      16     ;
                      17     ;     Lx51 <your object file list>, START900.OBJ <controls>
                      18     ;
                      19     ;------------------------------------------------------------------------------
                      20     ;
                      21     ;  User-defined Power-On Initialization of Memory
                      22     ;
                      23     ;  With the following EQU statements the initialization of memory
                      24     ;  at processor reset can be defined:
                      25     ;
                      26     ;               ; the absolute start-address of IDATA memory is always 0
  0100                27     IDATALEN        EQU     100H    ; the length of IDATA memory in bytes.
                      28     ;
  0000                29     XDATASTART      EQU     0H      ; the absolute start-address of XDATA memory
  0000                30     XDATALEN        EQU     0H      ; the length of XDATA memory in bytes.
                      31     ;
                      32     ;  Note:  The IDATA space overlaps physically the DATA and BIT areas of the
                      33     ;         LPC9xx device.
                      34     ;
                      35     ;------------------------------------------------------------------------------
                      36     ;
                      37     ;  Reentrant Stack Initilization
                      38     ;
                      39     ;  The following EQU statements define the stack pointer for reentrant
                      40     ;  functions and initialized it:
                      41     ;
                      42     ;  Stack Space for reentrant functions in the SMALL model.
  0000                43     IBPSTACK        EQU     0       ; set to 1 if small reentrant is used.
  0100                44     IBPSTACKTOP     EQU     0FFH+1  ; set top of stack to highest location+1.
                      45     ;
                      46     ;  Stack Space for reentrant functions in the LARGE model.      
  0000                47     XBPSTACK        EQU     0       ; set to 1 if large reentrant is used.
  0200                48     XBPSTACKTOP     EQU     01FFH+1 ; set top of stack to highest location+1.
                      49     ;
                      50     ;  Stack Space for reentrant functions in the COMPACT model.    
  0000                51     PBPSTACK        EQU     0       ; set to 1 if compact reentrant is used.
  0100                52     PBPSTACKTOP     EQU     0FFH+1  ; set top of stack to highest location+1.
                      53     ;
                      54     ;------------------------------------------------------------------------------
                      55     ;
                      56     ;  Setup LPC9xx Configuration Register (UCFG1, BOOTVEC, BOOTSTAT, SEC0..SEC7)
                      57     ;
                      58     ; Oscillator Configuration (UCFG1.0 .. UCFG1.2)
A51 MACRO ASSEMBLER  START900                                                             07/22/2005 19:10:26 PAGE     2

                      59     ; FOSC       Val  Description
                      60     ; ----       ---  -----------
  0003                61     FOSC EQU 3  ; 0 = high frequency crystal or resonator (4MHz .. 20MHz)
                      62     ;           ; 1 = medium frequency crystal or resonator (100kHz .. 4MHz)
                      63     ;           ; 2 = low frequency crystal (20kHz .. 100kHz)
                      64     ;           ; 3 = internal RC oscillator (7.373MHz +/- 2.5%) (default on unprogrammed part)
                      65     ;           ; 4 = internal Watchdog oscillator (400kHz +20/-30%)
                      66     ;           ; 7 = external clock input on X1
                      67     ;
                      68     ; Watchdog Saftey Enable (UCFG1.4)
                      69     ; WDSE       Val  Description
                      70     ; ----       ---  -----------
  0000                71     WDSE EQU 0  ; 0 = user can set WDCLK to select clock source(default on unprogrammed part) 
                      72     ;           ; 1 = Always use WDCLK, WDCON and WDL can be written once, WDT is always runnin
                             g 
                      73     ;
                      74     ; Brownout Detect Enable (UCFG1.5)
                      75     ; BOE       Val  Description
                      76     ; ----       ---  -----------
  0001                77     BOE EQU 1   ; 0 = 
                      78     ;           ; 1 = (default on unprogrammed part) 
                      79     ;
                      80     ; Reset PIN enable (UCFG1.6)
                      81     ; RPE        Val  Description
                      82     ; ---        ---  -----------
  0001                83     RPE  EQU 1  ; 0 = P1.5 can be used as input PIN (default on unprogrammed part)
                      84     ;           ; 1 = P1.5 will act as low active reset pin (low active)
                      85     ;           
                      86     ; Watchdog timer enable (UCFG1.7)
                      87     ; WDTE       Val  Description
                      88     ; ----       ---  -----------
  0000                89     WDTE EQU 0  ; 0 = watchdog disabled WDSE has no effect (default on unprogrammed part)
                      90     ;           ; 1 = watchdog enabled
                      91     ;
                      92     ; BOOTVECTOR (BOOTVEC)
                      93     ; BOOTVEC    Val  Description
                      94     ; ----       ---  -----------
  001E                95     BOOTVEC EQU 0x1E  ; points to ISP entry point (default on unprogrammed part)
                      96     ;
                      97     ; BOOTSTATUS (BOOTSTAT)
                      98     ; BOOTSTAT   Val  Description
                      99     ; ----       ---  -----------
  0001               100     BOOTSTAT EQU 0x01 ; enables ISP entry on power-up (default on unprogrammed part)
                     101     ;
                     102     ; Flash Security Configuration (SEC0.0 .. SEC0.2)
                     103     ; SEC0       Val  Description
                     104     ; ----       ---  -----------
  0000               105     SEC0 EQU 0  ; 0 = no security on sector 0 (default on unprogrammed part)
                     106     ;           ; 1 = MOVC disabled on sector 0
                     107     ;           ; 2 = program/erase disabled on sector 0
                     108     ;           ; 3 = MOVC disabled, program/erase disabled on sector 0 
                     109     ;           ; 4 = IAP/ISP global erase disabled on sector 0
                     110     ;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 0
                     111     ;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 0
                     112     ;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on s
                             ector 0
                     113     ;
                     114     ; Flash Security Configuration (SEC1.0 .. SEC1.2)
                     115     ; SEC1       Val  Description
                     116     ; ----       ---  -----------
  0000               117     SEC1 EQU 0  ; 0 = no security on sector 1 (default on unprogrammed part)
                     118     ;           ; 1 = MOVC disabled on sector 1
                     119     ;           ; 2 = program/erase disabled on sector 1
                     120     ;           ; 3 = MOVC disabled, program/erase disabled on sector 1 
                     121     ;           ; 4 = IAP/ISP global erase disabled on sector 1
                     122     ;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 1
A51 MACRO ASSEMBLER  START900                                                             07/22/2005 19:10:26 PAGE     3

                     123     ;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 1
                     124     ;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on s
                             ector 1
                     125     ;
                     126     ; Flash Security Configuration (SEC2.0 .. SEC2.2)
                     127     ; SEC2       Val  Description
                     128     ; ----       ---  -----------
  0000               129     SEC2 EQU 0  ; 0 = no security on sector 2 (default on unprogrammed part)
                     130     ;           ; 1 = MOVC disabled on sector 2
                     131     ;           ; 2 = program/erase disabled on sector 2
                     132     ;           ; 3 = MOVC disabled, program/erase disabled on sector 2 
                     133     ;           ; 4 = IAP/ISP global erase disabled on sector 2
                     134     ;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 2
                     135     ;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 2
                     136     ;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on s
                             ector 2
                     137     ;
                     138     ; Flash Security Configuration (SEC3.0 .. SEC3.2)
                     139     ; SEC3       Val  Description
                     140     ; ----       ---  -----------
  0000               141     SEC3 EQU 0  ; 0 = no security on sector 3 (default on unprogrammed part)
                     142     ;           ; 1 = MOVC disabled on sector 3
                     143     ;           ; 2 = program/erase disabled on sector 3
                     144     ;           ; 3 = MOVC disabled, program/erase disabled on sector 3 
                     145     ;           ; 4 = IAP/ISP global erase disabled on sector 3
                     146     ;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 3
                     147     ;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 3
                     148     ;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on s
                             ector 3
                     149     ;
                     150     ; Flash Security Configuration (SEC4.0 .. SEC4.2)
                     151     ; SEC4       Val  Description
                     152     ; ----       ---  -----------
  0000               153     SEC4 EQU 0  ; 0 = no security on sector 4 (default on unprogrammed part)
                     154     ;           ; 1 = MOVC disabled on sector 4
                     155     ;           ; 2 = program/erase disabled on sector 4
                     156     ;           ; 3 = MOVC disabled, program/erase disabled on sector 4 
                     157     ;           ; 4 = IAP/ISP global erase disabled on sector 4
                     158     ;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 4
                     159     ;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 4
                     160     ;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on s

⌨️ 快捷键说明

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