Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Virgil Dupras d6f5cf5b90 zasm: fix first pass inversion bug 5 years ago
..
tests zasm: fix first pass inversion bug 5 years ago
README.md Add zasm app 5 years ago
directive.asm zasm: fix first pass inversion bug 5 years ago
instr.asm zasm: support symbols in .dw directive 5 years ago
io.asm zasm: read input in two passes 5 years ago
main.asm zasm: add support for .equ 5 years ago
parse.asm zasm: little code reorganisation 5 years ago
symbol.asm zasm: support forward label references! 5 years ago
tok.asm zasm: little code reorganisation 5 years ago
util.asm zasm: add support for labels! 5 years ago

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.