https://github.com/rory660/tinysim
Simulation program for Conor McBride's TINY Machine.
https://github.com/rory660/tinysim
python2
Last synced: 5 months ago
JSON representation
Simulation program for Conor McBride's TINY Machine.
- Host: GitHub
- URL: https://github.com/rory660/tinysim
- Owner: rory660
- Created: 2017-11-09T15:00:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T16:07:09.000Z (over 1 year ago)
- Last Synced: 2025-01-10T16:44:22.376Z (6 months ago)
- Topics: python2
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TINYsim
Simulation program for Conor McBride's TINY Machine.

## How To Use
+ Run the script with Python 2.7
+ Input a TINY input queue in the format "x, x, x, x..."
+ Input a TINY configuration in the format "x x x x xxxxxxxxxxxxxxx"
+ The program should then print a trace and state how the TINY program halted.## Notes
+ This script halts after 500 operations, and assumes that the TINY program loops indefinitely
+ This can be changed by editing the main loop of the program, line 268. Set count to a desired value.