the value of the register $sp xspim is readonly
Bug #389736 reported by
Arton Pereira Dorneles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spim (Ubuntu) |
Fix Released
|
Medium
|
Mackenzie Morgan | ||
Bug Description
Binary package hint: spim
Ubuntu Version = 9.04
Spim Version = 7.4-0ubuntu1 i386
Processor = Intel(R) Core(TM)2 Duo CPU E8500
Version 7.4 presents problems to change the value of register $sp.
The version 7.3 is working
Here is a snippet of code and the expected result:
# The initial value of $sp = 70000;
addi $sp, $sp, 4 # After this line $sp = 70004
li $a0, 20 # and after this line ... $sp = 70000 again! There is a bug here. The value should be 70004
I looked at the official site of the author and the last version is 7.3
who created the version 7.4?
Attached is an assembly code to reproduce the bug
Related branches
Changed in spim (Ubuntu): | |
assignee: | nobody → Mackenzie Morgan (maco.m) |
To post a comment you must log in.
7.4 was from Larus, he just forgot to update the front page of his website. I reported the bug to him a while ago, and he said he'd fix it in 7.5. I'm packaging it right now.