This project implements a Simple Stack Machine (SSM) Virtual Machine based on Dr. Montagne's Stack VM and the MIPS processor.
- ANSI standard C
- gcc compiler
- Eustis environment (http://newton.i2lab.ucf.edu/wiki/Help:Eustis)
Use the provided Makefile:
make vm
Run all tests:
make check-outputs
Run specific tests:
make check-lst-outputs
make check-vm-outputs
Print loaded program:
./vm -p <bof_file>
Execute program:
./vm <bof_file>
- Implement VM memory and registers
- Implement instruction fetch-decode-execute cycle
- Implement all SSM instructions
- Implement loading of binary object files
- Implement tracing output
- Implement -p flag functionality
- Handle errors appropriately
Create a submission zip file:
make submission.zip