collapseos/apps/zasm
Virgil Dupras f6dddaa380 zasm: add automated tests and fix a bunch of bugs
A python script generates all possibilities for all supported
instructions and compare zasm output with scas. After having fixed a
couple of bugs, all tests pass!
2019-04-17 21:03:20 -04:00
..
emul zasm: invert emulator io_write() handling 2019-04-17 10:34:30 -04:00
tests zasm: add automated tests and fix a bunch of bugs 2019-04-17 21:03:20 -04:00
README.md Add zasm app 2019-04-16 13:36:57 -04:00
zasm.asm zasm: add automated tests and fix a bunch of bugs 2019-04-17 21:03:20 -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.