A mips simulator framework