
gittech. site
for different kinds of informations and explorations.
MIPS32 Emulator
Published at
Dec 24, 2024
Main Article
mips_emu
mips_emu is emulator of MIPS I/II instruction set created from scratch using ANSI C language.
Why i decided to make MIPS emulator from scratch
I didn't found mips emulator that portable and can fully emulate interrupts. So i decided to make own MIPS emulator.
Emulator features
Interrupts (note: pc is set to 0x10000180 (due to malloc 4g limit) eret is inaccurate (i can't find what does eret changes and do so i made my own))
Coprocessor 0
Almost all instructions
MIPS I/II (some instructions from MIPS II)
MMIO (starts from 0x3e000000)
Basic UART 8550
Portable header only C code