| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Assembly Questions and Answers for Assembly here! |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help with mips!!!
Problem Solved,
Last edited by Ansem; May 5th, 2005 at 05:01 AM. |
|
#2
|
|||
|
|||
|
Re: Help with mips!!!
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.
|
|
#3
|
|||
|
|||
|
Re: Help with mips!!!
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"
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|