Hello,
I've written a program that mimics a 32-bit MIPS processor. It does a couple of instructions. It works by reading in a Hexadecimal instruction of length 8 and then carrying out the instruction and writing the information to a file. It was working fine earlier but now I get an out of subscript range error when it encounters the third instruction. From my experience I know that that means I'm accessing a location that is not allocated. For some reason memory[ 0 ] is being wiped out. Please help as this is very annoying. I have uploaded the files. I'm using Microsoft Visual Studios