Service Calls Executing Based on User Input
问题 I've just written my first MIPS addition program. My output is expected ($t0 + $t1 = $t2), but I have a question regarding some strange behavior that I believe should be avoidable. On the lines where I gather the user input ( li $v0, 5 ), the value of the $v0 service call gets set to the value of my user input. So for example, if I enter "10" as user input, $v0 is assigned the value 10, which is the service code to terminate the program. Is there something I can do to ensure that my user