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 b4694225c5 blockdev: change GetC API 5 years ago
..
emul zasm: extract tok.asm from zasm.asm 5 years ago
tests zasm: add a bunch of instructions 5 years ago
README.md Add zasm app 5 years ago
tok.asm zasm: add support for IX/IY with displacement 5 years ago
zasm.asm blockdev: change GetC API 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.