-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
12 lines (8 loc) · 1.06 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
LANGUAGE USED - Python3.8
INTRODUCTION - The IAS machine was an early computer following the von Neumann architecture. This is a program that follows a similar workflow with a working implementation of a few instructions from the original instruction set.
EXECUTION INSTRUCTIONS - 1) Change the name of one of the memoryK.txt to memory.txt (to select) before you execute.
2) cd into the IAS folder and execute "python3 IMT2019083_main.py"
RESULT - Successful compilation implies that the operation has been performed. The initial and final memory is printed onto the console for inspection. By set convention, the upper part of the memory contains the instruction arrays while the lower part contains the word memory.
The class heirarchy of the code mimics the IAS architecture.
The file IMT2019083_ias.py assembles all the components of the IAS computer, and handles the Fetch and Execute. The ISA is stored here, including the mappings of instruction to binary index.
The IMT2019083_main.py is the main file that actually runs the code.