April 24th, 2011, 03:03 PM
How to write this prog in MIPS(Mars)??
i can't start to resolve this progarm it's so deficult ...
....Write program can be used to generate (n) random number (0<= x <1).
Show a sample output for 10 numbers????
April 25th, 2011, 10:06 AM
To answer your question - How to write this prog in MIPS(Mars)?):
Start learning the assemble language.. everything is difficult at the beginning.
Unless you read the sticky and have a more "direct"/precise question, the best we can do is redirect you to google and/or a assemble "manual".
Like this one: http://logos.cs.uic.edu/366/notes/mips%20quick%20tutorial.htm
You can also take at look at http://en.wikibooks.org/wiki/MIPS_Assembly
April 29th, 2011, 05:49 AM
here is my work but i can't find the problem
the problem when i do run only
but when i do assemple it shows me is sucssefully
April 29th, 2011, 02:13 PM
You have to be more descriptive.
When/where (in code) does it start to fail?
What did you expect?
What actually happen?