created: 08/05/01; small changes: 03/17/03
Up until now, your programs have been running with SPIM used as a "bare machine" — a computer with no machine code in it but your own. Most computer systems run under the control of an operating system. Application programs use the services of the operating system to do input and output and other system tasks.
SPIM does not have an operating system, but it can run a small trap handler — a set of services that is a great help in writing assembly programs.
syscall
instruction.