# Starter code for computing Nth Perrin term. .data str_0: .asciiz "Welcome to Midn. Smith's Perrin term calculator\n" str_1: .asciiz "Enter which Perrin term to calculate=> " .text .globl main main: la $a0, str_0 # system call to print welcome li $v0, 4 syscall # prompt user for number la $a0, str_1 # system call to print str_1 li $v0, 4 syscall # user inputs number for term to calculate li $v0, 5 # system call to read an integer syscall # You should start filling in details here: # 1. call the perrin function # 2. put the returned value into register for later use # 3. add the statements to print out the result # terminate the program li $v0, 10 syscall perrin: # Your code for perrin goes here