This is a Visual Studio extension providing 64tass assembler-compatible syntax highlighting for W65C816. Created for personal convenience.
It doesn't exhaustively try to highlight operators or addressing mode-related punctuation- that was a non-goal. Instead, the aim was simplicity and ease of readability. Language elements colorized:
- Mnemonics are highlighted as keywords
- Comments
- String literals
- Assembler directives
Tested a number of samples available.
This extension was written in C# using Visual Studio 2019 Community, tested on the same. It is built for Windows platform x86-64 architecture. To build. open the .sln solution file and choose 'Build' in Visual Studio.
- The opcode "INC" is not highlighted, because 64tass's convention is "INA".
- Some alternate mnemonics in 64tass's documentation such as CLP and CSP are recognized.
- String literals for the assembler are surrounded by "quotes". If you need to put a quote in a string literal, you escape it by using two quotes. This case is handled by the extension.