collapseos/apps/zasm
Virgil Dupras 98ad223ee1 zasm: introduce the concept of instruction ID
It will make tokenization cleaner and it also makes the instruction
table significantly more compact.
2019-04-30 20:26:41 -04:00
..
emul zasm: assemble multiple lines at once 2019-04-30 15:51:39 -04:00
tests zasm: introduce the concept of instruction ID 2019-04-30 20:26:41 -04:00
README.md Add zasm app 2019-04-16 13:36:57 -04:00
instr.asm zasm: introduce the concept of instruction ID 2019-04-30 20:26:41 -04:00
main.asm zasm: move token variables from tok.asm into main.asm 2019-04-30 17:04:42 -04:00
tok.asm zasm: introduce the concept of instruction ID 2019-04-30 20:26:41 -04:00
util.asm zasm: assemble multiple lines at once 2019-04-30 15:51:39 -04:00

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.