1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-29 02:58:07 +11:00
collapseos/apps/zasm
Virgil Dupras 6547e83f20 zasm: improve comma processing
We don't treat "," exactly as a whitespace anymore. We have specific
processing for it.
2019-05-17 14:34:38 -04:00
..
directive.asm zasm: remove JUMP_ prefixes 2019-05-17 09:50:11 -04:00
expr.asm zasm: remove JUMP_ prefixes 2019-05-17 09:50:11 -04:00
instr.asm zasm: improve comma processing 2019-05-17 14:34:38 -04:00
io.asm zasm: remove JUMP_ prefixes 2019-05-17 09:50:11 -04:00
main.asm Add unit test for zasm's parse unit 2019-05-17 10:00:30 -04:00
parse_z.asm zasm: add support for "0b" literals 2019-05-17 10:34:01 -04:00
README.md Add zasm app 2019-04-16 13:36:57 -04:00
symbol.asm zasm: don't match prefixes in symFind 2019-05-17 13:14:16 -04:00
tok.asm zasm: improve comma processing 2019-05-17 14:34:38 -04:00
util_z.asm zasm: don't match prefixes in symFind 2019-05-17 13:14:16 -04:00

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.