op65 is an early-stage 65C02 assembler written in C++.
The current language draft includes labels, sublabels, comments, immediates,
string literals, and directives such as .org, .ascii, .data, .symbol,
and .zero.
Configure and build with CMake:
cmake -S . -B build
cmake --build buildRun the bootstrap executable:
./build/op65Tokenize an input file and dump tokens:
./build/op65 path/to/file.asm --dump-tokensRun the test suite with:
ctest --test-dir build --output-on-failure- Grammar draft: dev/grammar.md
- Sample source file: examples/sample.asm