Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SM213 Assembly Syntax HighlightingNew to Visual Studio Code? Get it now.
SM213 Assembly Syntax Highlighting

SM213 Assembly Syntax Highlighting

cpsc213-ta

|
1,834 installs
| (2) | Free
A VS Code extension that provides syntax highlighting for the SM213 Assembly Language used in UBC's CPSC 213 course.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SM213 Assembly Syntax Highlighter Extension for VS Code

This is a VS Code extension that provides syntax highlighting for the SM213 assembly language used in UBC's CPSC 213 course. The language was developed for the Simple Machine 213 Simulator by course staff and is based on x86 assembly.

Project

The project boilerplate was created using CLI tools Yeoman and VS Code Extension Generator. You can learn about how to start building an extension here and read about how VS Code syntax highlighting extensions work here.

The main file we care about is ./syntaxes/asm.tmLanguage.json. The .json file has a bunch of fields describing the type of text to syntax highlight and uses Regex to describe what to highlight.

Screenshots

Extension off

Extension on

Contributing

I don't claim that this is good or efficient Regex. Feel free to add or correct anything :)

Known Issues

  • Referencing a label that has the same name as instruction (ex. having a label for a function named 'add' and calling j add) will highlight the label as if it were an instruction
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft