Re: Relocatable sources

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) 
<> 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).


Das Geld zieht nur den Eigennutz an und verfhrt stets unwiderstehlich zum 
<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.