Try the following program:
.data
.text
main: li $a0, '1' li $v0, 11 syscall
done
In nox mode, this prints 49. In GUI mode, this prints 1.
Log in to post a comment.