This is a Language Extension for Visual Studio Code. It adds syntax highlighting for the Motorola 68000 and its variants.
Currently, this extension supports the following assemblers. In general, the grammar's name takes the form of "68k Assembly (assembler name)":
- AS, The Macroassembler, the grammar is called "The Macroassembler AS (as)"
- NXP ColdFire/CodeWarrior
CodeWarrior
: The grammar is called "Coldfire 68k Assembly (CodeWarrior)"
- vasm
vasmm68k_mot
: Mot Syntax Module, the grammar is called "68k Assembly (vasmm68k_mot)"vasmm68k_std
: Standard Syntax Module, the grammar is called "68k Assembly (vasmm68k_std)"
Planned support for:
- m68k-elf-as
- SNASM2
- Sierra 68000 Assembler
This is not a complete list. If you have a wish or suggestion, please use the issue function of the GitHub repository to submit an assembler. If you provide a link to its documentation, that will speed things up.
- Some kind of linter that will check for errors for the chosen assembler
- Customization options for comments (think,
;
vs*
vs#
) - Common snippets/macros for faster coding
- A Z80 assembly injection for Sega Genesis/Mega Drive programming
Please feel free to submit an issue to make a suggestion. They're greatly appreciated.
- Grammars that uses
*
to mark comments: Arithmetic expressions (e.g.,4 + 6 * 8
), that include*
as an operator, are wrongly marked as comments.
If you find a bug or error, please submit an issue to this repository. A screenshot and informations about your system (OS, VS code version) will help a lot.
For more detailed changes, see CHANGELOG.md
.
Minor bug fixes.
Minor bug fix.
Address size specifiers after symbols/labels and registers are highlighted now.
Bunch of small bug fixes.
Added support for The Macroassembler AS.
Add m68k module directives to vasm grammars. Fix strings and escape command hightlighting in same grammars.
Add support for vasmm68k_std assembler.
Initial release. Only supports vasm.