Unix 68000 Assembler

There is a fantasic editor/assembler/simulator for Microsoft Windows called Easy68K. This is a source-code port of the assembler portion to Linux.

$ ./asm68k --help
MC68000 Assembler v0.9, based on code from Easy68k v3.5 by Chuck Kelly/Paul McKee
                        ported by Mark Wickens 2006 <mark@wickensonline.co.uk>
 Usage: asm68k [-l] [-s] [-b] [-h] [-v] <input>.X68
 Options:       -l --listing    Generate listing file
                -s --srecord    Generate Motorola S-Record output file,
                -b --binary             Generate binary output file
                -h --help               Display this help (doh!)
                -v --verbose    Maximum verbosity

Release 0.9 should be considered a beta release because the motorola 'bin' file format output is not working. I don't know why because I haven't changed to code from the Windows version, but obviously there is something wrong. As I only use S-record output this isn't a problem for me.

If you port this code to any other version of Unix, please let me know and I will add the necessary changes for a future release. Endian-ness is a problem which I may come around to addressing if I fancy doing a port to one of my VAXEN (little endian boxes).