🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2704

Re: TopSpeed and assembler

#2704
From: "Mark Morgan Lloyd "
Date: Sun, 13 Aug 1995 12:14
19 lines
1206 bytes
I've not tried to use the pragma, one reason being that this would 
necessitate building a version of the assembler module for all possible 
models and for all possible CPUs, note that TopSpeed has no naming 
convention for libraries for different CPUs. I don't recall seeing 
processor-specific code in any TopSpeed assembler modules.

I would have thought it would have been better to determine the type of 
CPU at runtime, either by having a global variable that the assembler 
code checks or by building a table containing the entry points during 
initialisation.

Remember that if CPU-specific code is built, it may cause problems on 
multi-CPU systems, e.g. a '386 with a '186 as an I/O processor.

Mark Morgan Lloyd
mark_tbu@cix.compulink.co.uk

[Opinions above are the author's, not those of his employers or 
colleagues]
Technical Details
Message-ID: <DD90oA.ABu@cix.compulink.co.uk>
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
References: <40bk8l$qgs@seagoon.newcastle.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
From: mark_tbu@cix.compulink.co.uk ("Mark Morgan Lloyd ")
Subject: Re: TopSpeed and assembler
Message-ID: <DD90oA.ABu@cix.compulink.co.uk>
Organization: KDG Mobrey Telemetry
References: <40bk8l$qgs@seagoon.newcastle.edu.au>
Date: Sun, 13 Aug 1995 12:14:34 GMT
X-News-Software: Ameol