[Coco] Kinda disappointed with 6809 assemblers

Ciaran Anscomb cocomalt at 6809.org.uk
Thu Jan 31 04:45:57 EST 2013


"Luis Antoniosi (CoCoDemus)" wrote:
> 
> Been using different assemblers and for me they all seem to lack very basic
> features.

Whatever you do, don't use this:

http://www.6809.org.uk/dragon/asm6809.pl

For the reasons documented here:

http://www.6809.org.uk/dragon/asm6809.txt

tl;dr: you get bit shifts and whitespace in comments, but no OS-9 support
and it'll almost certainly break on files that follow the official
Motorola syntax.  It will do 6800/1/3 though (with the same caveats).

A better approach might be to run your source through a preprocessor
that collapses it into something a proper assembler will handle.

As for bit shifts, did you consider substituting "<< 8" with "* 256",
for example?

..ciaran



More information about the Coco mailing list