MIPS assembly question
Just out of curiosity, if you were writing code to assemble with as rather than SPIM, (MIPS code) exactly what registers can you use? And which is read by 'syscall'? (And which is read by syscall for something like print)
Also, are the syscall numbers for read_int and such similar to that of SPIM?
I ask because as failes to assemble when I use $a0 or $v0.
Thanks.
|