Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rory660/tinysim
Simulation program for Conor McBride's TINY Machine.
https://github.com/rory660/tinysim
python2
Last synced: about 2 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T16:07:09.000Z (about 1 year ago)
- Last Synced: 2023-10-27T12:35:07.145Z (about 1 year ago)
- Topics: python2
- Language: Python
- Size: 5.86 KB
- Stars: 0
- 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.
![](https://user-images.githubusercontent.com/30571778/32622915-62d064a6-c57c-11e7-9242-d514947e9bec.png)
## 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.