#--------------------------------- # Lab 6: Putting it together # # Name: # Onyen: # # -------------------------------- # Below is the expected output. # # 144 # -- program is finished running -- #--------------------------------- .data numberString: .asciiz "12" .text main: #------- INSERT MAIN CODE HERE ------- # # Here you should call atoi and fib functions. #(You may delete the comment here when you insert your code) # #------------ END CODE --------------- add $a0, $0, $v0 #take the result of atoi/fib and print it li $v0, 1 #System call code for print_int syscall li $v0, 10 #System call code for exit syscall #exit the program atoi: #------- INSERT ATOI CODE HERE ------- # #(You may delete the comment here when you insert your code) # #------------ END CODE --------------- fib: #------- INSERT FIB # #(You may delete the comment here when you insert your code) # #------------ END CODE ---------------