?? start900.lst
字號:
A51 MACRO ASSEMBLER START900 07/27/2005 21:09:14 PAGE 1
MACRO ASSEMBLER A51 V7.10
OBJECT MODULE PLACED IN START900.OBJ
ASSEMBLER INVOKED BY: d:\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.1
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> IDATA memory length <0x0-0x100:0x2>
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> XDATA memory start address <0x0-0xFFFF:0x2>
35 ; <i>the absolute start-address of XDATA memory
0000 36 XDATASTART EQU 0
37 ;
38 ; <o> XDATA memory length <0x0-0xFFFF:0x2>
39 ; <i>the length of XDATA memory in bytes.
0000 40 XDATALEN EQU 0
41 ;
42 ; </h>
43 ;------------------------------------------------------------------------------
44 ;
45 ; <h> Reentrant Stack Initilization
46 ;
47 ; The following EQU statements define the stack pointer for reentrant
48 ; functions and initialized it:
49 ;
50 ; Stack Space for reentrant functions in the SMALL model.
51 ; <e> Activate reentrant Stack (SMALL model)
0000 52 IBPSTACK EQU 0 ; set to 1 if small reentrant is used.
53 ; <o> top of stack <0x0-0x100:0x2>
54 ; <i> set top of stack to highest location+1
0100 55 IBPSTACKTOP EQU 0x100 ; default 0FFH+1
56 ; </e>
57 ; Stack Space for reentrant functions in the LARGE model.
58 ; <e> Activate reentrant Stack (LARGE model)
A51 MACRO ASSEMBLER START900 07/27/2005 21:09:14 PAGE 2
0000 59 XBPSTACK EQU 0 ; set to 1 if large reentrant is used.
60 ; <o> top of stack <0x0-0x200:0x2>
61 ; <i> set top of stack to highest location+1.
01FF 62 XBPSTACKTOP EQU 0x1FF ; default 01FFH+1
63 ; </e>
64 ;
65 ; Stack Space for reentrant functions in the COMPACT model.
66 ; <e> Activate reentrant Stack (COMPACT model)
0000 67 PBPSTACK EQU 0 ; set to 1 if compact reentrant is used.
68 ; <o> top of stack <0x0-0x100:0x2>
69 ; <i> set top of stack to highest location+1.
0100 70 PBPSTACKTOP EQU 0x100 ; default 0FFH+1
71 ; </e>
72 ; </h>
73 ;------------------------------------------------------------------------------
74 ;
75 ; Setup LPC9xx Configuration Register (UCFG1, BOOTVEC, BOOTSTAT, SEC0..SEC7)
76 ; <h> Configuration UCFG1
77 ; Oscillator Configuration (UCFG1.0 .. UCFG1.2)
78 ; <o> FOSC: (UCFG1.0 .. UCFG1.2)
79 ; FOCS Val Description
80 ; -------- -----------
81 ; <0=> high frequency crystal or resonator (4MHz .. 20MHz)
82 ; <1=> medium frequency crystal or resonator (100kHz .. 4MHz)
83 ; <2=> low frequency crystal (20kHz .. 100kHz)
84 ; <3=> internal RC oscillator (7.373MHz +/- 2.5%)
85 ; <4=> internal Watchdog oscillator (400kHz +20/-30%)
86 ; <7=> external clock input on X1
87 ; <i> Oscillator Configuration
0003 88 FOSC EQU 3 ; default on unprogrammed parts: 3 = internal RC oscillator
89
90 ; <o> WDSE: (UCFG1.4)
91 ; WDSE Val Description
92 ; -------- -----------
93 ; <0=> User can set WDT-Osc. as clock source
94 ; <1=> WDT is running with WDT-Osc.
95 ; <i> Watchdog Saftey Enable (0 = default on unprogrammed part)
0000 96 WDSE EQU 0 ; 0 = user can set WDCLK to select clock source(default on unprogrammed part)
97 ;
98 ; <o> BOE: (UCFG1.5)
99 ; BOE Val Description
100 ; ------- -----------
101 ; <0=> Disable
102 ; <1=> Enable
103 ; <i> Brownout Detect Enable (1 = default on unprogrammed part)
0001 104 BOE EQU 1
105 ;
106 ; <o> RPE: (UCFG1.6)
107 ; RPE Val Description
108 ; -------- -----------
109 ; <0=> Disable (P1.5 can use as input pin)
110 ; <1=> Enable (P1.5 used as reset pin)
111 ; <i> Reset PIN enable (0 = default on unprogrammed part)
0000 112 RPE EQU 0
113 ;
114 ; <o> WDTE: (UCFG1.7)
115 ; WDTE Val Description
116 ; -------- -----------
117 ; <0=> Disable (WDSE has no effect)
118 ; <1=> Enable
119 ; <i> Watchdog timer enable (0 = default on unprogrammed part)
0000 120 WDTE EQU 0
121 ; </h>
122 ;
123 ; <e> BOOTSTATUS (BOOTSTAT)
124 ; BOOTSTAT Val Description
A51 MACRO ASSEMBLER START900 07/27/2005 21:09:14 PAGE 3
125 ; ---- --- -----------
0000 126 BOOTSTAT EQU 0x00 ; enables ISP entry on power-up (default on unprogrammed part)
127
128 ; BOOTVECTOR (BOOTVEC)
129 ; BOOTVEC Val Description
130 ; ---- --- -----------
131 ; <o> ISP entry point <0x0-0x1F00:0x100> <# /0x100>
132 ; <i> points to ISP entry point (default c:0x1E00 on unprogrammed part)
001E 133 BOOTVEC EQU 0x1E ;
134 ; </e>
135 ;
136 ; <h> Flash Security Configuration
137 ; <h> SECO: (SEC0.0 .. SEC0.2)
138 ; SEC0 Val Description
139 ; -------- -----------
140 ; <q.0> Disable reading with MOVC
141 ; <q.1> Disable program/erase
142 ; <q.2> Disable IAP/ISP global erase
143 ; <i> Flash Security Configuration sector 0 (c:0x0000 - c:0x03FF)
0000 144 SEC0 EQU 0
145 ; </h>
146
147 ; <h> SEC1: (SEC1.0 .. SEC1.2)
148 ; SEC1 Val Description
149 ; -------- -----------
150 ; <q.0> Disable reading with MOVC
151 ; <q.1> Disable program/erase
152 ; <q.2> Disable IAP/ISP global erase
153 ; <i> Flash Security Configuration sector 0 (c:0x0400 - c:0x07FF)
0003 154 SEC1 EQU 3
155 ; </h>
156
157 ; <h> SEC2: (SEC2.0 .. SEC2.2)
158 ; SEC2 Val Description
159 ; -------- -----------
160 ; <q.0> Disable reading with MOVC
161 ; <q.1> Disable program/erase
162 ; <q.2> Disable IAP/ISP global erase
163 ; <i> Flash Security Configuration sector 0 (c:0x0800 - c:0x0BFF)
0002 164 SEC2 EQU 2
165 ; </h>
166
167 ; <h> SEC3: (SEC3.0 .. SEC3.2)
168 ; SEC3 Val Description
169 ; -------- -----------
170 ; <q.0> Disable reading with MOVC
171 ; <q.1> Disable program/erase
172 ; <q.2> Disable IAP/ISP global erase
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -