Open index.html in your favourite browser and you are good to go.
-
Enter your code in the text area provided and click on
Load Programto load the program in the buffer. -
Click on
Next Stepto run the code line by line -
Click on
Run Till Endto run the program till the end or tillhaltappears -
To load any of the sample programs , click on one among
P1,P2orP3on top right -
The value of all registers can be seen on the left side. The list is updated after execution of each instruction.
-
samplePrograms.jscontains the 3 sample MIPS code -
instructionFunctions.jscontains the implementation of the individual MIPS instructions -
loaders.jscontains the code for parsing the MIPS code and running the parsed code -
middlewares.jscontains the intermediate functions that will be used inloaders.jsandinstructionFunctions.js