collapseos/apps/zasm
Virgil Dupras d6f5cf5b90 zasm: fix first pass inversion bug
Also, confirm in tests that we can refer to other symbols in `.equ`.
2019-05-12 08:50:29 -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: support symbols in .dw directive 2019-05-10 21:17:19 -04:00
io.asm zasm: read input in two passes 2019-05-10 20:32:05 -04:00
main.asm zasm: add support for .equ 2019-05-11 22:11:05 -04:00
parse.asm zasm: little code reorganisation 2019-05-10 21:19:34 -04:00
README.md Add zasm app 2019-04-16 13:36:57 -04:00
symbol.asm zasm: support forward label references! 2019-05-10 21:14:46 -04:00
tok.asm zasm: little code reorganisation 2019-05-10 21:19:34 -04:00
util.asm zasm: add support for labels! 2019-05-09 21:21:08 -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.