📄 start900.lst
字号:
A51 MACRO ASSEMBLER START900 08/04/2006 19:27:58 PAGE 1
MACRO ASSEMBLER A51 V8.00
OBJECT MODULE PLACED IN START900.OBJ
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE START900.A51 SET(SMALL) 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-2004 Keil Elektronik GmbH and Keil Software, Inc.
5 ; Version 2.3
6 ;
7 ; *** <<< Use Configuration Wizard in Context Menu >>> ***
8 ;------------------------------------------------------------------------------
9 ; START900.A51: This code is executed after processor reset.
10 ; You may add this file to a uVision2 project.
11 ;
12 ; To translate this file use Ax51 with the following invocation:
13 ;
14 ; Ax51 START900.A51 "your options"
15 ;
16 ; To link the modified START900.OBJ file to your application use the following
17 ; Lx51 invocation:
18 ;
19 ; Lx51 your object file list, START900.OBJ controls
20 ;
21 ;------------------------------------------------------------------------------
22 ;
23 ; User-defined <h> Power-On Initialization of Memory
24 ;
25 ; With the following statements the initialization of memory
26 ; at processor reset can be defined:
27 ;
28 ; <o> IDATALEN: IDATA memory length <0x0-0x100>
29 ; <i> Notes: The absolute start-address of IDATA memory is always 0
30 ; <i> The IDATA space overlaps physically the DATA and BIT areas of the
31 ; <i> LPC9xx device.
0100 32 IDATALEN EQU 0x100 ; the length of IDATA memory in bytes.
33 ;
34 ; <o> XDATASTART: XDATA memory start address <0x0-0xFFFF>
35 ; <i>the absolute start-address of XDATA memory
0000 36 XDATASTART EQU 0
37 ;
38 ; <o> XDATALEN: XDATA memory length <0x0-0xFFFF>
39 ; <i>the length of XDATA memory in bytes.
0000 40 XDATALEN EQU 0
41 ;
42 ; </h>
43 ;------------------------------------------------------------------------------
44 ;
45 ; <h> Reentrant Stack Initialization
46 ;
47 ; The following EQU statements define the stack pointer for reentrant
48 ; functions and initialized it:
49 ;
50 ; <h> Stack Space for reentrant functions in the SMALL model.
51 ; <q> IBPSTACK: Enable SMALL model reentrant stack
52 ; <i> Stack space for reentrant functions in the SMALL model.
0000 53 IBPSTACK EQU 0 ; set to 1 if small reentrant is used.
54 ; <o> IBPSTACKTOP: End address of SMALL model stack <0x0-0xFF>
55 ; <i> Set the top of the stack to the highest location.
0100 56 IBPSTACKTOP EQU 0xFF +1 ; default 0FFH+1
57 ; </h>
58 ;
A51 MACRO ASSEMBLER START900 08/04/2006 19:27:58 PAGE 2
59 ; <h> Stack Space for reentrant functions in the LARGE model.
60 ; <q> XBPSTACK: Enable LARGE model reentrant stack
61 ; <i> Stack space for reentrant functions in the LARGE model.
0000 62 XBPSTACK EQU 0 ; set to 1 if large reentrant is used.
63 ; <o> XBPSTACKTOP: End address of LARGE model stack <0x0-0x1FF>
64 ; <i> Set the top of the stack to the highest location.
0200 65 XBPSTACKTOP EQU 0x1FF +1 ; default 01FFH+1
66 ; </h>
67 ;
68 ; <h> Stack Space for reentrant functions in the COMPACT model.
69 ; <q> PBPSTACK: Enable COMPACT model reentrant stack
70 ; <i> Stack space for reentrant functions in the COMPACT model.
0000 71 PBPSTACK EQU 0 ; set to 1 if compact reentrant is used.
72 ; <o> PBPSTACKTOP: End address of COMPACT model stack <0x0-0xFF>
73 ; <i> Set the top of the stack to the highest location.
0100 74 PBPSTACKTOP EQU 0xFF +1 ; default 0FFH+1
75 ; </h>
76 ; </h>
77 ;------------------------------------------------------------------------------
78 ;
79 ; Setup LPC9xx Configuration Register (UCFG1, BOOTVEC, BOOTSTAT, SEC0..SEC7)
80 ; <h> Configuration UCFG1
81 ; Oscillator Configuration (UCFG1.0 .. UCFG1.2)
82 ; <o> FOSC: (UCFG1.0 .. UCFG1.2)
83 ; FOCS Val Description
84 ; -------- -----------
85 ; <0=> high frequency crystal or resonator (4MHz .. 20MHz)
86 ; <1=> medium frequency crystal or resonator (100kHz .. 4MHz)
87 ; <2=> low frequency crystal (20kHz .. 100kHz)
88 ; <3=> internal RC oscillator (7.373MHz +/- 2.5 percent)
89 ; <4=> internal Watchdog oscillator (400kHz +20/-30 percent)
90 ; <7=> external clock input on X1
91 ; <i> Oscillator Configuration
0003 92 FOSC EQU 3 ; default on unprogrammed parts: 3 = internal RC oscillator
93
94 ; <o> WDSE: (UCFG1.4)
95 ; WDSE Val Description
96 ; -------- -----------
97 ; <0=> User can set WDT-Osc. as clock source
98 ; <1=> WDT is running with WDT-Osc.
99 ; <i> Watchdog Saftey Enable (0 = default on unprogrammed part)
0000 100 WDSE EQU 0 ; 0 = user can set WDCLK to select clock source(default on unprogrammed part)
101 ;
102 ; <o> BOE: (UCFG1.5)
103 ; BOE Val Description
104 ; ------- -----------
105 ; <0=> Disable
106 ; <1=> Enable
107 ; <i> Brownout Detect Enable (1 = default on unprogrammed part)
0001 108 BOE EQU 1
109 ;
110 ; <o> RPE: (UCFG1.6)
111 ; RPE Val Description
112 ; -------- -----------
113 ; <0=> Disable (P1.5 can use as input pin)
114 ; <1=> Enable (P1.5 used as reset pin)
115 ; <i> Reset PIN enable (0 = default on unprogrammed part)
0000 116 RPE EQU 0
117 ;
118 ; <o> WDTE: (UCFG1.7)
119 ; WDTE Val Description
120 ; -------- -----------
121 ; <0=> Disable (WDSE has no effect)
122 ; <1=> Enable
123 ; <i> Watchdog timer enable (0 = default on unprogrammed part)
0000 124 WDTE EQU 0
A51 MACRO ASSEMBLER START900 08/04/2006 19:27:58 PAGE 3
125 ; </h>
126 ;
127 ; <h> Boot Program
128 ; <o> BSB: (BOOTSTAT.0)
129 ; BSB Val Description
130 ; ------- -----------
131 ; <0=> Disable ISP entry on power-up
132 ; <1=> Enable ISP entry on power-up
133 ; <i> enables In-System Programming (ISP) power-up
0000 134 BOOTSTAT EQU 0
135 ;
136 ;
137 ; BOOTVECTOR (BOOTVEC)
138 ; --------------------
139 ; <o> ISP entry point <0x0-0x1F00:0x100> <# /0x100>
140 ; <i> points to ISP entry point (default c:0x1E00 on unprogrammed part)
001E 141 BOOTVEC EQU 0x1E ;
142 ; </h>
143 ;
144 ; <h> Flash Security Configuration
145 ; <h> SECO: (SEC0.0 .. SEC0.2)
146 ; SEC0 Val Description
147 ; -------- -----------
148 ; <q.0> Disable reading with MOVC
149 ; <q.1> Disable program/erase
150 ; <q.2> Disable IAP/ISP global erase
151 ; <i> Flash Security Configuration sector 0 (c:0x0000 - c:0x03FF)
0000 152 SEC0 EQU 0
153 ; </h>
154
155 ; <h> SEC1: (SEC1.0 .. SEC1.2)
156 ; SEC1 Bit Description
157 ; -------- -----------
158 ; <q.0> Disable reading with MOVC
159 ; <q.1> Disable program/erase
160 ; <q.2> Disable IAP/ISP global erase
161 ; <i> Flash Security Configuration sector 0 (c:0x0400 - c:0x07FF)
0000 162 SEC1 EQU 0
163 ; </h>
164
165 ; <h> SEC2: (SEC2.0 .. SEC2.2)
166 ; SEC2 Bit Description
167 ; -------- -----------
168 ; <q.0> Disable reading with MOVC
169 ; <q.1> Disable program/erase
170 ; <q.2> Disable IAP/ISP global erase
171 ; <i> Flash Security Configuration sector 0 (c:0x0800 - c:0x0BFF)
0000 172 SEC2 EQU 0
173 ; </h>
174
175 ; <h> SEC3: (SEC3.0 .. SEC3.2)
176 ; SEC3 Bit Description
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -