MIPS emulator and assembler implementations