engineer-man / piston

A high performance general purpose code execution engine.
https://emkc.org/run
MIT License
1.89k stars 239 forks source link

Add MIPS Assembly Language #136

Open dharmx opened 3 years ago

dharmx commented 3 years ago

If it's not too much work can you guys please add MIPS.

realtux commented 3 years ago

yeah. do you by chance know of a compiler that works well?

dharmx commented 3 years ago

yeah. do you by chance know of a compiler that works well?

I only use QtSpim and MARS simulator which requires you to have Java installed. And, they are used by our University as well.

HexF commented 3 years ago

Could we just use gcc cross-compiling for MIPS?

realtux commented 3 years ago

this was never implemented in v2 yet so whatever option you'd like best is fine

HexF commented 3 years ago

Only issue would be how do we run MIPS binaries, in QEMU or similar?

HexF commented 3 years ago

Adding to that, what constitutes as stdin/out/err and args?