.data AA: .space 400 # int AA[100] BB: .space 400 # int BB[100] CC: .space 400 # int CC[100] m: .space 4 # m is an int which is the size of an mxm matrix # You may add more variables here if you need to .text main: #------- INSERT YOUR CODE HERE ------- # # Best is to convert the C program line by line # into its assembly equivalent. Carefully review # the coding templates near the end of Lecture 8. # # # 1. First, read m (the matrices will then be size mxm). # 2. Next, read matrix A followed by matrix B. # 3. Compute matrix product. You will need triple-nested loops for this. # 4. Print the result, one row per line, with one (or more) space(s) between # values within a row. # 5. Exit. # #------------ END CODE --------------- exit: # this is code to terminate the program -- don't mess with this! addi $v0, $0, 10 # system call code 10 for exit syscall # exit the program