I'm currently implementing a square matrix multiplier containing single floating point numbers in MIPS assembly line code.
My problem is that once I am done summing the multiplications of the corresponding rows and columns in order to calculate my dot product I want to clear that floating point register so I can calculate the dot product for the next entry in the product matrix.Right now I keep adding the current dot product with all the previous dot products.
Things I've tried to set the floating point register as zero:
l.s $f3,$0 #loading zero into the register
addi $t0,$t0,$zero #setting a temp register as zero
l.s $f3,($t0)
I keep getting an error indicating a runtime exception and an address out of range.