I want to print hex value in MIPS using SPIM Simulation Editor, but I found some answers for MARS Simulation Editor. In MARS, I can do it as "li $v0, 34". How can I do this statement for SPIM editor? Thanks for helps.
Asked
Active
Viewed 894 times
0
-
In MARS you find all documentation about `syscalls` and macros in `? help` . I only guess that SPIM also should has such a documentation. – Adam Apr 19 '17 at 19:14
-
You'll have to write your own function for that. – Michael Apr 21 '17 at 07:52
-
Does this answer your question? [Why is my MIPS base converter printing out the values from a previous loop after the current values?](https://stackoverflow.com/questions/37153381/why-is-my-mips-base-converter-printing-out-the-values-from-a-previous-loop-after) has working code. – Peter Cordes Apr 06 '20 at 15:04