Re: Relocatable sources

From: groepaz_at_gmx.net
Date: Wed, 19 Nov 2014 14:36:22 +0100
Message-ID: <1672072.7GjMt5YuVn@rakete>
On Wednesday 19 November 2014, 13:20:26 Baltissen, GJPAA (Ruud) 
<ruud.baltissen@apg.nl> wrote:
...
> sources that generate binaries that are the same as the originals again. So
> how do you tell the assembler to generate code for a certain memory area
> while it is actually meant for another area?
... 
> My question: do other assembler know this trick as well?

of course, it is a pretty standard feature.... ca65 for example uses .org and 
.reloc ... kickass uses .pseudopc ... the native c64 turbo assembler uses 
.offs and .org etc pp

...
> Another question: is "relocatable sources" a good name? I even haven't any
> idea how to call this phenomenon in Dutch.

in ca65 docs it is referred to as "load" address (where the program is placed 
in memory) and "run" address (where the program actually runs). i have also 
seen it referenced as "program placement" and "program counter assignment". 
good old turbo assembler called it "offset assembly" (which is a bit 
misleading, imho).

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ar.pokefinder.org

Das Geld zieht nur den Eigennutz an und verführt stets unwiderstehlich zum 
Missbrauch. 
<Albert Einstein>



       Message was sent through the cbm-hackers mailing list
Received on 2014-11-19 14:00:48

Archive generated by hypermail 2.2.0.