How can I execute MIPS assembly programs on an x86 linux?

mmcdole picture mmcdole · Jan 21, 2009 · Viewed 18.9k times · Source

Are there any command line interpreters or any other set of programs around for x86 linux in order to run MIPS assembly programs?

I'd like to be able to write simple MIPS assembly programs and run them from the console on my local machine.

I know of SPIM but it requires X Windows and I'm curious if there are better options out there.

Edit: Turns out it doesn't require X Windows. I still have issues with SPIM. Not the best in my humble opinion. Qemu / Cross compiled toolchain is a little more work but I have less quirks.

Answer

Rob Kennedy picture Rob Kennedy · Jan 21, 2009

Incidentally, Spim does not require X Windows. It has a console interface as well. Run either spim or xspim.