Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.25 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.25 KB

VSColorize65C816

This is a Visual Studio extension providing 64tass assembler-compatible syntax highlighting for W65C816. Created for personal convenience.

Example image

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.

Build

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.

Notes

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