📄 start.lst
字号:
196 Version 1.08 16 April 99 JRo
197 - Version placed in separate section (caused pro
blems with fixed
198 reset vector)
199
200 Version 1.07 01 April 99 HLo
201 - Version string had wrong number (1.05 instead
of 1.06)
202 - Copyright slightly changed
203
204 Version 1.06 18 Feb 99 HLo
205 - default external bus configuration: WR signal
enabled
206 - ROMMIRROR macro processing simplified (less wa
_____________________________________________________________________________
F2MC-16 Family SOFTUNE Assembler V30L11 2008-01-06 16:22:06 Page: 7
STARTUP FILE FOR MEMORY INITIALISATION
SN LOC OBJ LLINE SOURCE
rnings>
207
208 Version 1.05 28 Oct 98 HLo
209 - CALL/CALLP _exit was not differed
210
211 Version 1.04 21 Oct 98 HLo
212 - ROM mirror option added
213 - _exit call added
214 - bug: EQU ON/OFF move to upper lines
215
216 Version 1.03 19 Oct 98 HLo
217 - bug: SEGCOPY macro: used size changed from siz
eof(src) to
218 sizeof(dest). It was conflicting with RAMCONST
, if compiler
219 is set to ROMCONST.
220
221 Version 1.02 16 Oct 98 HLo
222 - memory model AUTO introduced (use far calls on
ly and repair
223 stack, if necessary
224 - colons removed from EQU labels
225 - stream_init call added
226 - RAMCONST set as default (also for ROMCONST sys
tems)
227
228 Version 1.01 31 Aug 98 HLo
229 - bug: conditional for reset vector was missing
230
231 Version 1.00 25 Aug 98 HLo
232 - original version
233 */
234 ;===============================================
=====================
235
236 ;===============================================
=====================
237 ; 4 Settings
238 ;===============================================
=====================
239 ;
240 ; CHECK ALL OPTIONS WHETHER THEY FIT TO THE APPL
ICATION;
241 ;
242 ; Configure this startup file in the "Settings"
section. Search for
243 ; comments with leading "; <<<". This points to
the items to be set.
244 ;===============================================
=====================
245 #set OFF 0
246 #set ON 1
247
248 ;===============================================
_____________________________________________________________________________
F2MC-16 Family SOFTUNE Assembler V30L11 2008-01-06 16:22:06 Page: 8
STARTUP FILE FOR MEMORY INITIALISATION
SN LOC OBJ LLINE SOURCE
=====================
249 ; 4.1 Controller Family
250 ;===============================================
=====================
251
252 #set MB90700 0 ; FFMC-16
253 #set MB90200 1 ; FFMC-16F
254 #set MB90600 2 ; FFMC-16L
255 #set MB90500 3 ; FFMC-16LX
256 #set MB90400 4 ; FFMC-16LX
257 #set MB90300 5 ; FFMC-16LX
258 #set MB90800 6 ; FFMC-16LX
259 #set MB90900 7 ; FFMC-16LX
260
261 #set FAMILY MB90300 ; <<< select
family
262
263 ; NOTE: This startup file is not suitable for MB
90610 series. Use
264 ; start610.asm instead.
265
266 ;===============================================
=====================
267 ; 4.2 C-language Memory model
268 ;===============================================
=====================
269
270 ; data
code
271 #set SMALL 0 ; 16 Bit
16 Bit
272 #set MEDIUM 1 ; 16 Bit
24 Bit
273 #set COMPACT 2 ; 24 Bit
16 Bit
274 #set LARGE 3 ; 24 Bit
24 Bit
275 #set AUTOMODEL 4 ; works alway
s, might occupy two
276 ; additional
bytes
277
278
279 #set MEMMODEL AUTOMODEL ; <<< C-memor
y model
280
281 ; The selected memory model should be set in ord
er to fit to the
282 ; model selected for the compiler.
283 ; Note, in this startup version AUTOMODEL will w
ork for all
284 ; C-models. However, if the compiler is configur
ed for SMALL or
285 ; COMPACT, two additional bytes on stack are occ
_____________________________________________________________________________
F2MC-16 Family SOFTUNE Assembler V30L11 2008-01-06 16:22:06 Page: 9
STARTUP FILE FOR MEMORY INITIALISATION
SN LOC OBJ LLINE SOURCE
upied. If this is not
286 ; acceptable, the above setting should be set to
the correct model.
287
288 ;===============================================
=====================
289 ; 4.3 Function-Call Interface
290 ;===============================================
=====================
291 #if __REG_PASS__
292 X .REG_PASS
293 #endif
294
295 ; Above statement informs Assembler on compatibi
lity of start-up code
296 ; to Function Call Interface as selected for t
he application. There
297 ; is nothing to configure.
298 ; The Function-Call Interface specifies the meth
od of passing parame-
299 ; ter from function caller to callee. The stand
ard method of FCC907S
300 ; compiler uses "stack argument passing". Alt
ernatively, language
301 ; tools can be configured for "register argument
passing".
302 ; For details see the compiler manual.
303 ; This start-up file is compatible to both inter
faces.
304 ;===============================================
=====================
305 ; 4.4 Constant Data Handling
306 ;===============================================
=====================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -