How can I store back the value to memory so I can loop over them? I tried couple of times but it's not working. Unable to loop them. What can I do?

.data

'by row-major order'

mA: .float 1.5,2.5,3.5,4.5

'by row-major order'

mB: .float 5.5,6.5,7.5,8.5 

'4 elements in resultant matrix mC, each 4 bytes'

mC: .float 0,0,0,0 
space: .asciiz " "
.text

'a3 stores byte size of resultant matrix mC'

la  $a3,mC

'a1 stores i/p matrix mA'

la  $a1,mA  
la  $a2,mB

'a'

l.s $f1, 0($a1)

'b'

l.s $f2, 4($a1)

'c'

l.s $f3, 8($a1)

'd'

l.s $f4, 12($a1)



l.s $f5, 0($a2)

'e'

l.s $f6, 4($a2)

'f'

l.s $f7, 8($a2)

'g'

l.s $f8, 12($a2)

'Here using the Strassen's Algorithm for matrix multiplication

add.s $f0,$f1,$f4 #a+d
add.s $f9,$f5,$f8 #e+h
mul.s $f0, $f0,$f9 #        -p5

sub.s $f9,$f7,$f5 #g-e
mul.s $f9,$f4,$f9 #d(g-e) -  p4

add.s $f10,$f1,$f2 # a+b
mul.s $f10,$f8,$f10 #h(a+b)  -  p2

sub.s $f11,$f2,$f4 # (b-d)
add.s $f12,$f7,$f8 #(g+h)
mul.s $f13,$f11,$f12 #p6 

add.s $f11, $f0,$f9 # p5+p4
add.s $f12,$f11,$f13 #p5+p4+p6
sub.s $f11,$f12,$f10 #p5+p4+p6-p2

'Values stored in the first cell of the resultant matrix'

s.s $f11,0($a3) 
#... p1,p2

sub.s $f13,$f6,$f8 # (f-h)
mul.s $f12,$f13,$f1 #a(f-h) $f12     -p1 
add.s $f13, $f12,$f10 # (p1+p2)


s.s $f13, 4($a3) 



add.s $f14,$f3,$f4 # c+d
mul.s $f15,$f14,$f5 #e(c+d)  
add.s $f14,$f15,$f9 #p3+p4

s.s $f14,8($a3)

sub.s $f16,$f1,$f3  '(a-c)'
add.s $f17,$f5,$f6  '(e+f)'
mul.s $f16,$f16,$f17  '(a-c)*(e+f) - p7'


add.s $f17,$f12,$f0 '(p1+p5)'
sub.s $f18,$f17,$f15  '(p1+p5-p3)'
sub.s  $f17,$f18,$f16  '(p1+p5-p3-p7)'

s.s $f17,12($a3)

'Print the resultant matrix'

li $t1,0

loop: beq $t1, 4, exit

'PUT YOUR CODE HERE TO PRINT THE RESULT MATRIX'

j loop

exit:
 li $v0,10
 syscall