A Simple Brookshear Machine Simulator
To use compile using gcc
mkdir brookshear
cd brookshear
gcc brookshear-simulator.c -o brookshear-simulator
Using the prgram is simple, type the name of the program followed by the filename containing the brookshear instructions
./brookshear-simulator examples/brookshear5
NOTE: If you do not type the file name then it will look for a file called a3.txt
Each brookshear instruction must be on its own line, there is a limit of 16 registers.