I wrote this to assemble code for my emulator: https://scratch.mit.edu/projects/175052082/ It got very hard to add new features, so i decided to cancel the project and write the assembler in python: https://github.com/Tegmen/6502-Assembler