4. (25 pts) Using MIPS Assembly evaluate the determinant of the “Symmetric” matrix: 4 |A| 1 1 2 0 3 3 2 for x = 5. Place the result into register: [ $to ]. • At the end of the problem clearly state the result (decimal) • In the report include a screen-shot of the register (Registers-area) with the result.
                      Link will be apear in 30 seconds.
                    
Well done! you have successfully gained access to Decrypted Link. 
Question:

Answer:
.data
    prompt: .asciiz 
    answer: .asciiz
   .text
   la $a0, prompt
   li $v0,4
   syscall
     
       li $v0,4                           
       syscall
       move $t0,$v0
       li $v0,1
       syscall
       move $t1,$v0
         li $v0,2
       syscall
       move $t2,$v0
         li $v0,1
       syscall
       move $t3,$v0
         li $v0,0
       syscall
       move $t4,$v0
         li $v0,3
       syscall
       move $t5,$v0
         li $v0,2
       syscall
       move $t6,$v0
         li $v0,3
       syscall
       move $t7,$v0
         li $v0,5
       syscall
       move $t8,$v0
       
       
     
   jal determ                                  
      li $v0,4
      la $t0, answer
       syscall
      move $t0,$s7 
      li $v0,1
      syscall
      li $v0,10
      syscall
     
           determ:
             mult $t4,$t8                                
             mflo $s1
             mult $t5,$t7
             mflo $s2
             sub $s2,$s1,$s2
             
             mult $s2,$t0
             mflo $s2
             
             mult $t3,$t8
             mflo $s3
             mult $t5,$t6
             mflo $s4
             sub $s4,$s3,$s4
             mult $s4,$t1
             mflo $s4
             sub $s4,$s2,$s4
             
             mult $t3,$t7
             mflo $s5
             mult $t4,$t6
             mflo $s6
             sub $s6,$s5,$s6
             mult $s6,$t2
             mflo $s6
             add $s7, $s4,$s6
             jr $ra