This code is the starter code for Assignment 2 of the 2023 spring offering of the Computer Architecture course (2202-COL216).
MIPS_Processor.hpp
contains the implementation of the instruction parser and a non-pipelined implementation of the MIPS processor.sample.cpp
contains a sample usage of theMIPS_Architecture
struct.sample.asm
contains a sample assembly program that can be run on the processor.
After cloning the repository, run the following commands to compile and run the sample program:
$ make all
$ ./sample sample.asm