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

前端 未结 8 805
名媛妹妹
名媛妹妹 2020-12-13 15:35

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 simpl

相关标签:
8条回答
  • 2020-12-13 16:14

    I was in the same situation yesterday. I also didn't like SPIM, so this is what I did:

  • installed gxemul and gxemul-doc (those are the package names on debian)
  • installed netbsd on an emulated MIPS machine following the detailed instructions in the documentation
  • since netbsd already includes the standard gcc toolchain and vi, you're good to go.

    Setting up networking is pretty easy and well documented, too. This has the advantage of not needing to fiddle with cross compilation.

0 讨论(0)
  • 2020-12-13 16:19

    QEmu has a good MIPS emulator. Combine that with a cross-compiled GCC/binutils (technically you only need binutils to get GAS, the GNU assembler) and you're good to go.

    0 讨论(0)
  • 提交回复
    热议问题