📄 start.lst
字号:
71 ; http://www.fujitsu-ede.com/products/micro/d
isclaimer.html
72 ;
73 ;===============================================
=====================
_____________________________________________________________________________
F2MC-16 Family SOFTUNE Assembler V30L11 2007-03-02 13:17:36 Page: 4
STARTUP FILE FOR MEMORY INITIALISATION
SN LOC OBJ LLINE SOURCE
74 ; 3 History
75 ;===============================================
=====================
76 ;
77 ; Version 1.00 25 Aug 98 Holger Loesche
78 ; - original version
79 ; Version 1.01 31 Aug 98 Holger Loesche
80 ; - bug: conditional for reset vector was miss
ing
81 ; Version 1.02 16 Oct 98 Holger Loesche
82 ; - memory model AUTO introduced (use far call
s only and repair
83 ; stack, if necessary
84 ; - colons removed from EQU labels
85 ; - stream_init call added
86 ; - RAMCONST set as default (also for ROMCONST
systems)
87 ; Version 1.03 19 Oct 98 Holger Loesche
88 ; - bug: SEGCOPY macro: used size changed from
sizeof(src) to
89 ; sizeof(dest). It was conflicting with RAMC
ONST, if compiler
90 ; is set to ROMCONST.
91 ; Version 1.04 21 Oct 98 Holger Loesche
92 ; - ROM mirror option added
93 ; - _exit call added
94 ; - bug: EQU ON/OFF move to upper lines
95 ; Version 1.05 28 Oct 98 Holger Loesche
96 ; - CALL/CALLP _exit was not differed
97 ; Version 1.06 18 Feb 99 Holger Loesche
98 ; - default external bus configuration: WR sig
nal enabled
99 ; - ROMMIRROR macro processing simplified (les
s warnings>
100 ; Version 1.07 01 April 99 Holger Loesche
101 ; - Version string had wrong number (1.05 inst
ead of 1.06)
102 ; - Copyright slightly changed
103 ; Version 1.08 16 April 99 Juergen Rohn
104 ; - Version placed in separate section (caused
problems with fixed
105 ; reset vector)
106 ; Version 1.09 12 May 99 Holger Loesche
107 ; - MB90400 family added
108 ; - several coments changed
109 ; - INTROM_EXTBUS macro was wrong
110 ; - BUSWIDTH macro removed, now resolved from
bus signal
111 ; - disclaimer added
112 ; - disabling interrupts added
113 ; Version 1.10 17 May 99 Holger Loesche
114 ; - change in 1.09 (MODEBYTE) related to BUSWI
DTH was not complete
115 ; Version 1.11 1 June 99 Holger Loesche
116 ; - confusing old line with comment removed, w
_____________________________________________________________________________
F2MC-16 Family SOFTUNE Assembler V30L11 2007-03-02 13:17:36 Page: 5
STARTUP FILE FOR MEMORY INITIALISATION
SN LOC OBJ LLINE SOURCE
as refering to unused
117 ; old BUSWIDTH
118 ; Version 1.12 23 June 99 Holger Loesche
119 ; - CLIBINIT is using ON/OFF instead of extra
macro now
120 ; Version 2.00 23 July 99 Holger Loesche
121 ; - decriptors of __near sections now in DCLEA
R/DTRANS
122 ; - code for __near section init removed, now
initialised by DCLEAR
123 ; and DTRANS processing
124 ; - RAMCODE option added
125 ; - table of contents added
126 ; - memory model AUTO renamed to AUTOMODEL
127 ; - CONSTDATA mode AUTOCONST introduced to mak
e it clearer
128 ; Version 2.01 11 Oct 99 Holger Loesche
129 ; - unused macros WIDTH_8 and WIDTH_16 removed
130 ;
131 ;===============================================
=====================
VE 000000 ---------<VERSIONS>---------- 132 .SECTION VERSIONS, CONST
VE 000000 53 74 61 72 74 20 32 2E 30 31 133 .SDATA "Start 2.01\n" ; commen
0A t this line to remove
134
135 ;===============================================
=====================
136 ; 4 Settings
137 ;===============================================
=====================
138 ;
139 ; CHECK ALL OPTIONS WHETHER THEY FIT TO THE APPL
ICATION;
140 ;
141 ; Configure this startup file in the "Settings"
section. Search for
142 ; comments with leading "; <<<". This points to
the items to be set.
143 ;===============================================
=====================
144 #set OFF 0
145 #set ON 1
146
147 ;===============================================
=====================
148 ; 4.1 Controller Family
149 ;===============================================
=====================
150
151 #set MB90700 0
152 #set MB90200 1
153 #set MB90600 2
154 #set MB90500 3
155 #set MB90400 4
_____________________________________________________________________________
F2MC-16 Family SOFTUNE Assembler V30L11 2007-03-02 13:17:36 Page: 6
STARTUP FILE FOR MEMORY INITIALISATION
SN LOC OBJ LLINE SOURCE
156
157 #set FAMILY MB90400 ; <<< select
family
158
159 ; NOTE: This startup file is not suitable for MB
90610 series. Use
160 ; start610.asm instead.
161 ;===============================================
=====================
162 ; 4.2 Memory model
163 ;===============================================
=====================
164
165 ; data
code
166 #set SMALL 0 ; 16 Bit
16 Bit
167 #set MEDIUM 1 ; 16 Bit
24 Bit
168 #set COMPACT 2 ; 24 Bit
16 Bit
169 #set LARGE 3 ; 24 Bit
24 Bit
170 #set AUTOMODEL 4 ; works alway
s, might waste 2 bytes
171
172
173 #set MEMMODEL AUTOMODEL ; <<< C-memor
y model
174
175 ; The selected memory model should be set in ord
er to fit to the
176 ; model selected for the compiler.
177 ; Note, in this startup version AUTOMODEL will w
ork for all
178 ; C-models. However, if the compiler is configur
ed for SMALL or
179 ; COMPACT, two bytes on stack will be lost. If t
his is not
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -