Assembly code optimizer for the WDC 65816 processor produced by the 816-tcc (65816 Tiny C Compiler).
This project is a C port of the 816-opt Python tool.
Compile it using the make command.
make
Generate the documentation in doc/html like this.
make doc
If you want to modify the code, you can use the following make command to test memory leaks.
make valgrind
It will launch opt-65816 with valgrind and will iterate over the samples/*.ps files (these ASM files come from the examples available in the pvsneslib project).
Just give the ASM file to optimize as argument to opt-65816.
opt-65816 /path/to/your/asm/file
Or by using the stdin.
cat /path/to/your/asm/file | opt-65816
This project is released under the GNU Public License.
The main contributors of the 816-opt python tool:
- Ulrich Hecht
- Mic_
- @Alekmaul
And all the other contributors that I forget to name.