943,937 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 2551
  • Assembly RSS
Feb 19th, 2006
0

Quick MIPS question

Expand Post »
Hi,

I am currently writing a project that will allow the playing of a game of "british squares" in MIPS. Unfortunately it is giving me quite a bit of trouble.

I was wondering if there is a way to set the $ra register to the current location (actually a bit past the current location), without using the "jump and link" command? If it is possible, does it have anything to do with the $sp or the $fp registers? I can't seem to find anywhere information on what these registers actually do.

Any help on this is appreciated. Let me know if you need more information!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Warrior4017 is offline Offline
1 posts
since Feb 2006
Mar 17th, 2006
0

Re: Quick MIPS question

Quote originally posted by Warrior4017 ...
does it have anything to do with the $sp or the $fp registers? I can't seem to find anywhere information on what these registers actually do.
Use this pdf. The $fp and $sp registers are explained in "Procedure Calls"
link
http://www.cs.wisc.edu/~larus/HP_AppA.pdf
Reputation Points: 251
Solved Threads: 29
Posting Whiz in Training
andor is offline Offline
274 posts
since Jun 2005
Apr 25th, 2009
0

Re: Quick MIPS question

HI man, I am studying in Georgia Institute of Technology...
IN my computer Organization class we are required to do british
Square game on MIPS>>>
Could you please send me your british square game project on
<email snipped>.

I would really appreciate your help... thank you....


Hi,

I am currently writing a project that will allow the playing of a game of "british squares" in MIPS. Unfortunately it is giving me quite a bit of trouble.

I was wondering if there is a way to set the $ra register to the current location (actually a bit past the current location), without using the "jump and link" command? If it is possible, does it have anything to do with the $sp or the $fp registers? I can't seem to find anywhere information on what these registers actually do.

Any help on this is appreciated. Let me know if you need more information!
Last edited by Ancient Dragon; Apr 25th, 2009 at 6:32 am. Reason: snipped email
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Amirlano is offline Offline
1 posts
since Apr 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: Word Multiplication Problem
Next Thread in Assembly Forum Timeline: So much choice so little time!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC