Is there a way in MIPS to print an integer value using syscall 4?

0

Say I have a value 0x000000aa stored in register $t0.

Without using syscall 1, I want to print that value out in decimal which is 170.

In python it would just be str(170), but I'm not sure where to start in mips. Any hints?

assembly
mips
mars-simulator
asked on Stack Overflow May 18, 2020 by David Ip • edited May 18, 2020 by old_timer

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0