Skip to content

Instantly share code, notes, and snippets.

View StayBlue's full-sized avatar

StayBlue StayBlue

  • California
  • 21:19 (UTC -07:00)
View GitHub Profile
{
"schemaVersion": 1,
"label": "api surface",
"message": "100.00%",
"color": "brightgreen"
}
@StayBlue
StayBlue / instructions.md
Last active August 22, 2023 20:21
Installation guide for MIPS on VS Code

Introduction

MIPS is an architecture which is based on the open-source architecture RISC-V. RISC-V is popular in education for learning assembly as it is royalty-free and generalized. MIPS is its own instruction set that isn't supported by CPUs. In order to run MIPS, you will need an interpreter.

A common solution is to use MARS, developed by Missouri State University, which is an IDE and interpreter for MIPS. A caveat of MARS is that it hasn't been updated in over a decade. Some developers might opt to use a more modern IDE like VS Code, and this guide is for that audience.

VS Code Initial Setup

  1. Install VS Code.
  2. Install the Better MIPS Support extension in the VS Code Marketplace. This enables syntax