954,479 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Quick MIPS question

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!

Warrior4017
Newbie Poster
1 post since Feb 2006
Reputation Points: 10
Solved Threads: 0
 
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

andor
Posting Whiz in Training
276 posts since Jun 2005
Reputation Points: 251
Solved Threads: 29
 

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
.

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!

Amirlano
Newbie Poster
1 post since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You