The Processor class simulates a MIPS processor that supports a subset of the R3000 instruction set. Nachos processor lacks co-processor support.
The Processor class also allows a kernel to set an exception handler to be called on any user mode exception.
The Processor class maintains 38 software-accessible CPU registers including regPC and regSP for the program counter register and the stack pointer register. After loading a binary user program (in COFF) to the memory, the PC register is initialized to point to the program entry points, and the SP register points to the top of the stack.