How to load memory address without using pseudo-instructions?

后端 未结 3 1352
北海茫月
北海茫月 2020-12-19 13:11

I\'m trying to learn MIPS assembly language by myself using MARS simulator.

For didactic reasons I\'m limiting myself to not using pseudo-instructio

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-19 13:44

    To answer the modified question "is this doable using specifically MARS, without pseudo-instructions?": From a quick scan of the MARS documentation, it appears not. MARS appears to be intentionally restricted for pedagogical purposes.

    If you want to try this on a full MIPS simulator that will simulate the Linux OS running on MIPS and run code built with the gnu toolchain, take a look at the OVP Simulator. This is free and runs on Linux and Windows, but it's probably a lot more than you need.

提交回复
热议问题