The two matrices to be multiplied are | 1 2 | M1 = | 3 4 | | 5 6 | | 7 8 | and | 1 2 3 4 5 6 7 8 | M2 = | 1 2 3 4 5 6 7 8 | The matrices M1 and M2 can be declared and initialized in your assembly program as follows: .data M1: .word 1,2,3,4,5,6,7,8 M2: .word 1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8 Note both M1 and M2 are stored in row major fashion. You can compile and run the program matrix.c to see the product matrix.