Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s a syscall used by the simulator to exit from the program (it gives control back to operating system), you can get a summary of available syscall of Spim here: link.
The simulator adds a bootstrap at the beginning and an end section at the end of your program. Since you specify which
syscallto execute by loading the corresponding value in register$v0that’s what it actually does: set the syscall to be theexitone and the call it withsyscall.