This provides syntax highlighting for Assembly Language written in the Merlin8/16+/32 format for 6502, 65C02, and 65816 CPUs.
Install extension from the VS Marketplace.
Excellent Merlin32 documentation and the assembler downloads are available at https://brutaldeluxe.fr/products/crossdevtools/merlin/, thanks to Brutal Deluxe!
- added rename symbol functionality
- added document link functionality for Merlin commands ASM, DSK, PUT, PUTBIN, SAV, USE
- hover over mnemonics now shows supporting processors (6502/65C02/65816)
- bug fix: references in comments are now excluded
- bug fix: symbols like "a" where wrongly found in a value like $a
- bug fix: matching whitespace into comments
- minor rendering change to hover
- go to declaration (only works in current document)
- find all references (only works in current document)
- show symbols (only works in current document, press @ in search bar to show them)
- hover over mnemonics shows some information about it (hover over an "LDA" for example)
- format document
- format selection
- added configuration settings for format functions
- small highlight fixes:
lda #<LOC
, logical operators [!, &, .],asc 'blah'
, - began adding highlighting for Merlin directives (org, mx, dsk, put, putbin, etc.)
- Recognize computed variables like
#this+that-2/20
- Add variable support
lda ]foo
- Improved data literal capture
dw 2,4,6,]foo,1+1
- Initial release of the extension.
If you'd like to contribute, here are tips on getting started:
- fork/clone the source as normal
- make changes to the
syntaxes/65816.tmLanguage
file and save - hit F5 to open an extension host running the highlighter to test your changes on some real source code
- commit, push, PR
Publishing notes at https://code.visualstudio.com/api/working-with-extensions/publishing-extension