Question

addi $t0,$t0,4

How can i print this $t0 as a character string? Is there a syscall method for that?

Was it helpful?

Solution

Yes, code 11. The character to print should go in $a0

li $v0, 11
move $a0, $t0
syscall
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top