Home
Z80 Macro-Assembler extension for Visual Studio Code
- syntax highlighting for Z80 assembly sources of well known Z80 macro-assemblers, for example:
- problem matchers for SjASMPlus, Macroassembler AS, rasm and tniASM compilation output
- label and symbol documenter on hover, defintion provider, completition proposer and rename provider
- macro documenter and argument definition provider
- snippets for macros and source control keywords
Problem matchers
There are some predefined problem matchers to handle reported errors from compilation output:
-
errmatcher-asfor Macroassembler AS -
errmatcher-sjasmplusfor SjASMPlus -
errmatcher-sjasmfor SjASM -
errmatcher-rasmfor rasm -
errmatcher-tniasmanderrmatcher-tniasm-preprocessorfor tniASM
These values can be used in .vscode/tasks.json of your project's build task. See example »»
IntelliSense showcase
Symbol Provider:
- provide symbols or labels in current file in "Go to Symbol in File..." [
Ctrl+Shift+O,Cmd+Shift+O] - provide symbols or labels also in all includes in "Go to Symbol in Workspace..." [
Ctrl+T,Cmd+T]
Definition Provider:
- Generated map of every symbol defined considers also modules or temporal labels:
Completion Proposer
- Inteligent completion of directives, pseudo-instructions, Z80 instructions, registers, labels or symbols:
Hover over symbol:
- Show symbol's value or specific definiton:
Rename Provider
- Allow to rename labels, temporal labels, module names or macro indetifiers in InteliSense meaning.
Credits
This extension was done by Martin Bórik with some inspirations from these VS Code extensions:
-
z80asm-vscodeby Imanol Barriuso -
vscode-pasmoby BouKiCHi -
rgbds-vscodeby Donald Hays
License
Extension is licensed under the MIT license.





