Skip to content

maxmaio/mips-compiler

Repository files navigation

C to MIPS compiler


Compiler written in Java that compiles a subset of the C language to MIPS assembly code.

Requirements

  1. Unix based OS
  2. Java JDK version 11... need javac and java commands
  3. make command installed
  4. Install Spim with sudo apt-get install spim

Instructions

  1. run make in terminal
  2. write c code in test.wumbo
  3. run make test in terminal
  4. MIPS assembly code will output in test.s
  5. run spim in terminal
  6. run load "test.s" in spim
  7. run run in spim and the program should run in terminal

any questions please email max@maxma.io

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published