Forum: Assembly Jul 2nd, 2009 |
| Replies: 8 Views: 630 Well I already noted $s4 wasn't initialized. You're right about commenting my code I usually do but I was just tired. I didn't notice about $t0 though.
My logic was sort of checking each number... |
Forum: Assembly Jul 2nd, 2009 |
| Replies: 8 Views: 630 If only the world were that sweet. |
Forum: Assembly Jul 2nd, 2009 |
| Replies: 8 Views: 630 Actually it was something stupid, I never initialized $s4 to 1 so the loop never exited. Got the answer from elsewhere, but now my problem is that my output is non-prime numbers which is the... |
Forum: Assembly Jul 1st, 2009 |
| Replies: 8 Views: 630 I need to get a MIPS program to print out the first 30 prime numbers and to compute the first 200 (strange, but its the assignment). I can figure out what's wrong with this program. All it does is... |