Bizarre as it may seem, according to my reading of the MIPS manual, SPIM
is correct: $t0 contains CAFE and $t1 contains 3. It would be great if
someone who had a working R2000/R3000 would try this and confirm the
outcome (does anyone still have a working machine?).

Here's the relevant description from the MIPS manual:
"Branch instructions are delayed and do not take effect until after one or more 
instructions immediately following the Branch instruction have been executed. 
The instruction or instructions in this branch delay slot are **always** 
executed." (p. 1-9) And, yes, the jump instruction is considered a branch 
instruction.

The R2000 was a simple machine, with a wonderful regularity, even when
it didn't make a lot of sense from a programmer's point of view.

-- 
Strange behavior with -bare option
https://bugs.launchpad.net/bugs/393072
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to