A cross assembler designed for the EPE Microlab. Written by David Jordan (dave@lassie.demon.co.uk) This program is still in beta, if you find any bugs just let me know. It's worked with everything I've tested it with but I'm sure I've missed something. Do you really need documentation? Just point it to a source file... -a
changes the defualt output address. If your souce file doesn't include an ORG statement then the assembler will use this address. -d Displays a four column hex dump of the code. This is only really useful when you want to type the program in by hand as the four column layout mimics the Microlab's display. -o Outputs raw data into 'file', useful for the transmit program. -v Prints formatted source code: $0221: SETIN: $0221: $A9 $02 LDA #$02 $0223: $8D $43 $80 STA $8043 == (DDRA) $0226: $A9 $00 LDA #$00 $0228: $8D $42 $80 STA $8042 == (DDRB) $022B: $A2 $00 LDX #$00 $022D: $A0 $00 LDY #$00 $022F: $60 RTS -V Prints too much information, I only put it in for debugging the assembler. Somebody may find it useful though... Stuff it can do: # Multiple bases: $=Hexadecimal, %=Binary, Nothing is needed for decimal # #DEFINE's # Comments start with ';' # Labels end with ':'. You can have a label followed by a mnemonic on the same line # You can branch to either a label or you can specify the offset yourself so long as you precede the offset with a hash # You can select upper and lower bytes of a label by using '<' and '>' LABEL = $4952,