/p16-vscode

P16 assembly extension for VSCode

Primary LanguageTypeScriptMIT LicenseMIT

P16

P16 Assembly extension for Visual Studio Code.
This extension was made to be used by students in the Computer Architecture class at Instituto Superior de Engenharia de Lisboa (ISEL) university.

Features

Syntax Highlighting

Live error messages

Documentation on hover

Built in compiler

Requirements

P16 compiler (check #extension-settings section).

Extension settings

CTRL+Shift+P -> Preferences: Open User Settings (JSON)

  • p16.executablePath : Your P16 compiler executable path.
    • In case this setting is not set, it will use either p16as.exe or p16as by default, depending on what OS you are running.

Simple example of how settings.json can look:

{
    "p16.executablePath": "./home/roby/compilers/p16as", // linux
    
    "p16.executablePath": "C:\\p16\\p16as.exe" // windows
}

Recommended extensions