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

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.