Click to See Complete Forum and Search --> : Help with mips!!!


Ansem
May 4th, 2005, 03:13 AM
Problem Solved,

TBONE917
May 4th, 2005, 11:35 AM
if you are using some gui based interpreter for MIPS try to step through the program... also, I think what the error means is that the first four bits of the address of the instruction calling the jump, must have the same first four bits as the instruction being jumped to... the two instructions can not be more than 2^27 bits apart from each other. I saw one thing that was interesting... in two of the branched conditionals you are jumping to the next line which means that the code is going to that instruction regardless of the evaluation of the conditional(true and false both go to the next instruction). With PC relative address, Im not sure if this causes a problem.

Ansem
May 4th, 2005, 05:50 PM
I have fixed that problem, but now any code that I run, even the correct ones that have syscall in it doesn't work, am I supposed to change the settings of spim to make it work, error is like this "(parser) error on line 23 in file:/........... li $v0, 4"