Skip to content

kobenairb/opt-65816

Repository files navigation

Assembly code Optimizer for the WDC 65816

About

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.

Getting Started

Build it

Compile it using the make command.

make

Generate the documentation

Generate the documentation in doc/html like this.

make doc

Memory checker using valgrind

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).

Usage

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

Authors

License

This project is released under the GNU Public License.

License: GPL v3

Acknowledgements

The main contributors of the 816-opt python tool:

And all the other contributors that I forget to name.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors