the value of the register $sp xspim is readonly

Bug #389736 reported by Arton Pereira Dorneles
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
spim (Ubuntu)
Fix Released
Medium
Mackenzie Morgan
Nominated for Jaunty by 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

Revision history for this message
Arton Pereira Dorneles (artondorneles) wrote :
description: updated
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

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.

Changed in spim (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Diff.gz for 7.5 to fix this is attached to bug 425046

Changed in spim (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package spim - 7.5-0ubuntu1

---------------
spim (7.5-0ubuntu1) karmic; urgency=low

  * New upstream release
    - Fixes problem with $sp resetting on stepping (LP: #389736)
  * Add .desktop and icons (LP: #425046)

 -- Mackenzie Morgan <email address hidden> Sun, 04 Oct 2009 14:15:00 -0400

Changed in spim (Ubuntu):
status: In Progress → Fix Released
Changed in spim (Ubuntu):
assignee: nobody → Mackenzie Morgan (maco.m)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.