collapseos/apps/zasm
Virgil Dupras bccf933ea9 zasm: try for regular number or symbol before parsing expr
Previously, we would mess up literals like '-'.
2019-05-18 21:06:31 -04:00
..
README.md Add zasm app 2019-04-16 13:36:57 -04:00
directive.asm zasm: can now assemble zasm/directive.asm! 2019-05-18 20:37:34 -04:00
expr.asm zasm: try for regular number or symbol before parsing expr 2019-05-18 21:06:31 -04:00
instr.asm zasm: add support for RLC r and RRC r 2019-05-18 19:59:31 -04:00
io.asm zasm: make io unit handle PC and output suppression 2019-05-17 14:58:16 -04:00
main.asm zasm: can assemble zasm/tok.asm! 2019-05-18 20:31:52 -04:00
parse.asm zasm: can now assemble zasm/parse.asm! 2019-05-18 19:59:58 -04:00
symbol.asm zasm: can now assemble zasm/symbol.asm! 2019-05-18 18:56:27 -04:00
tok.asm zasm: can assemble zasm/tok.asm! 2019-05-18 20:31:52 -04:00
util.asm zasm: add support for RL r and RR r 2019-05-18 15:41:21 -04:00

README.md

z80 assembler

This is probably the most critical part of the Collapse OS project. If this app can be brought to completion, it pretty much makes the project a success because it ensures self-reproduction.

Running on a "modern" machine

To be able to develop zasm efficiently, libz80 is used to run zasm on a modern machine. The code lives in emul and ran be built with make, provided that you have a copy libz80 living in emul/libz80.

The resulting zasm binary takes asm code in stdin and spits binary in stdout.