minias
A mini assembler for x86_64, written for fun and learning.
Goals:
- A simple, tiny, fast implementation (in that order).
- Assemble the output of cproc/qbe.
- Relocatable elf output.
Non Goals:
- Assemble every assembly instruction.
- Assemble other architectures.
- Work as a library.
Building
redo minias
or
leg asm.peg > asm.peg.inc
cc -O2 *.c -o minias