LC3 Assembly Extension
Basic syntax highlighting and snippets for the LC3 assembly language used by the UT ECE department for Introduction to Computing EE 306. Integrates with the laser assembler, also written by me for the express purpose of offering a less restrictive option for more advanced students.
Assemble: Open the command palette and type
Assemble Project: Open the command palette and type
Assemble Folder: Open the command palette and type
Assemble Folder as Project: Open the command palette and type
After installing the extension via the extension marketplace and reloading the active window to activate it, just begin typing your code. The VSCode suggestion window will pop up and you can use the arrow keys to select an option or keep typing to further refine the suggestions. Press tab to cycle through the highlighted default spaces, and type in your registers, immediate values, offsets, labels, etc.
VSCode 1.18.0 or up.
Windows users should make sure that their default shell is set to either wsl.exe or powershell.exe and that laser has been properly installed on whichever shell your integrated terminal defaults to.