A tutorial for writing a MIPS emulator.