collapseos/apps/zasm
Virgil Dupras dd6fa5d38b zasm: properly propagate error conditions
Gives clearer output on errors. Easier debugging...
2019-05-12 21:31:11 -04:00
..
tests zasm: fix first pass inversion bug 2019-05-12 08:50:29 -04:00
directive.asm zasm: fix first pass inversion bug 2019-05-12 08:50:29 -04:00
instr.asm zasm: fix wrong logic in .numberTruncated error condition 2019-05-12 21:23:24 -04:00
io.asm
main.asm zasm: properly propagate error conditions 2019-05-12 21:31:11 -04:00
parse.asm
README.md
symbol.asm
tok.asm
util.asm

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.