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 e18f9b53a9 zasm: add support for "$" symbol 5 years ago
..
README.md Add zasm app 5 years ago
directive.asm zasm: add support for .fill directive 5 years ago
expr.asm zasm: can now assemble zasm/expr.asm! 5 years ago
glue.asm zasm emul: bring back kernel/user distinction 5 years ago
instr.asm zasm: add support for .org directive 5 years ago
io.asm zasm: make io unit handle PC and output suppression 5 years ago
main.asm zasm: add support for .org directive 5 years ago
parse.asm zasm: add support for "$" symbol 5 years ago
symbol.asm zasm: add support for .org directive 5 years ago
tok.asm zasm: accept whitespaces before separating comma 5 years ago
util.asm zasm: de-index symRegister 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.