Ensure that you have the getch
and pytest
python modules installed pip3 install getch
and pip3 install pytest
will work on most computers.
Running tests is as simple at running python3 -m pytest
not using python3 -m
will not be able to find the src
module.
First, and most importantly, you should always make sure that you begin in a terminal, or the application will not launch.
Typing python3 -m src.main
will run the virtual machine and the app will begin.
Once the application has opened, you will be met with the Editor
window. Here you are able to open a file with instructions and edit as you like.
You may also save any changes, or save a new file by hitting the Save
button.
To run your instructions within the file:
Click on the Running
tab to see your Output view on the left window, and the memory in the right window.
To load a file into memory:
Open
button.Now that the file has loaded, hit the Run
button to begin instruction entry.
To enter an instruction, click on the small input box underneath the left window.
You may now begin typing your desired instructions.