using syscall mips to exit program code example Example: mips exit syscall li $v0, 10 # Exit the program syscall