https://github.com/bitwizeshift/mips-simulator
A small pet-project that I wrote that executes MIPS binary and can print out registers.
https://github.com/bitwizeshift/mips-simulator
Last synced: about 2 months ago
JSON representation
A small pet-project that I wrote that executes MIPS binary and can print out registers.
- Host: GitHub
- URL: https://github.com/bitwizeshift/mips-simulator
- Owner: bitwizeshift
- Created: 2016-01-24T08:11:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-26T08:53:44.000Z (almost 10 years ago)
- Last Synced: 2024-12-28T17:14:06.544Z (about 1 year ago)
- Language: C++
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MIPS-Simulator
A small pet-project that I wrote that executes MIPS binary and can print out registers.
I originally wrote this in 2013 after reading [Computer Organization and Design: The Hardware-Software Interface](http://www.amazon.com/Computer-Organization-Design-Fourth-Edition/dp/0123744938). The book introduced the MIPS assembly language, and I figured the best way to learn it would be to write a simulator for the language -- which could be a fun project to write in C++.
After finding my original code for it, I decided to extend it and to attempt to implement an assembler for the language as well -- so that this program can serve as both an assembler and a simulator at the same time.
Currently, only the main code for the simulator exists, but is not directly callable -- though I hope to change that in the following weeks.
Right now I still need to implement the coprocessor and exception handling, both of which are relatively hard to find concrete information on. Coprocessor0 is especially important, as it has registers that contain important information with regards to exceptions.