The normal MIPS calling conventions specify that the first four
arguments to a function are passed in the registers a0-a3. (Actually,
this is if they're 32-bit integers; if they're floating point numbers
or 64-bit integers it gets complicated.)
This is always true and not something special about system calls.
There is now a page of MIPS architecture information linked from the
main course web page.
--
- David A. Holland | VINO project home page:
dholland(a)eecs.harvard.edu |
http://www.eecs.harvard.edu/vino