16bit Mips Emulator Written in C