https://github.com/cbarrick/hanoips
Towers of Hanoi game in 500 lines of MIPS
https://github.com/cbarrick/hanoips
Last synced: 3 months ago
JSON representation
Towers of Hanoi game in 500 lines of MIPS
- Host: GitHub
- URL: https://github.com/cbarrick/hanoips
- Owner: cbarrick
- License: mit
- Created: 2014-03-21T03:29:16.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-20T04:01:48.000Z (about 10 years ago)
- Last Synced: 2025-01-11T04:14:03.412Z (5 months ago)
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hanoips
A Towers of Hanoi console game written in MIPS assembly.
To play, you will need the *[spim]* MIPS simulator or one compatible with its system calls and pseudo instructions, like the MIPS IDE *[Mars]*.
Mac users can `brew install spim`. Linux users should be able to find *spim* in their distribution's repositories.
[spim]: http://spimsimulator.sourceforge.net
[Mars]: http://courses.missouristate.edu/KenVollmar/Mars/## Running
Mars is a graphical simulator. To run in Mars, open the `hanoi.mips` file, assemble, and run.spim is a command-line simulator. To run in spim, load the game from within a spim session:
```
(spim) load "./hanoi.mips"
(spim) run
```