Quick MIPS question

Reply

Join Date: Feb 2006
Posts: 1
Reputation: Warrior4017 is an unknown quantity at this point 
Solved Threads: 0
Warrior4017 Warrior4017 is offline Offline
Newbie Poster

Quick MIPS question

 
0
  #1
Feb 19th, 2006
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!
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 275
Reputation: andor has a spectacular aura about andor has a spectacular aura about andor has a spectacular aura about 
Solved Threads: 29
andor's Avatar
andor andor is offline Offline
Posting Whiz in Training

Re: Quick MIPS question

 
0
  #2
Mar 17th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 1
Reputation: Amirlano is an unknown quantity at this point 
Solved Threads: 0
Amirlano Amirlano is offline Offline
Newbie Poster

Re: Quick MIPS question

 
0
  #3
Apr 25th, 2009
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....


Originally Posted by Warrior4017 View 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!
Last edited by Ancient Dragon; Apr 25th, 2009 at 6:32 am. Reason: snipped email
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC