Description
Matrix Multiplication
In this assignment we will be using the SPIM simulator that you installed in lab. Your task will be to
implement a matrix multiplication algorithm in MIPS assembly. Your code only needs to support a 4 × 4
matrix. Only unsigned integer values need to be supported.
Below are some sample output. Note that your program should match these samples exactly. Printing the
tab character is often enough to achieve acceptable spacing.
Enter the values for matrix A:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Enter the values for matrix B:
1
2
3
4
5
6
7
8
9
10
11
12
1
13
14
15
16
Product A x B matrices:
90 100 110 120
202 228 254 280
314 356 398 440
426 484 542 600