Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help with this. thanks Write down a sequence of instructions that would i

ID: 3614136 • Letter: P

Question

Please help with this. thanks
Write down a sequence of instructions that would implement thesynthetic instruction addd $t0,$t2 to produce a double precisionsum (i.e. 64-bit sum) of two unsigned 64-bit integers. The first64-bit integer is in the register pair $t0 and $t1, while thesecond 64-bit integer is in the register pair $t2 and $t3 (the evennumbered register in each pair contains the most significant bits).The result should be left in the $t0,$t1 register pair.Your solution shouldnot modify any registers other than $t0 and $t1 ( and $1 ifneeded). Nor should your solution involve any type of branch orjump instruction. Please help with this. thanks
Write down a sequence of instructions that would implement thesynthetic instruction addd $t0,$t2 to produce a double precisionsum (i.e. 64-bit sum) of two unsigned 64-bit integers. The first64-bit integer is in the register pair $t0 and $t1, while thesecond 64-bit integer is in the register pair $t2 and $t3 (the evennumbered register in each pair contains the most significant bits).The result should be left in the $t0,$t1 register pair.Your solution shouldnot modify any registers other than $t0 and $t1 ( and $1 ifneeded). Nor should your solution involve any type of branch orjump instruction.

Explanation / Answer

please rate - thanks not tried but it just said to write the instructions andi   $t4,$t1,0x80000000          #if high order bit set in both registers andi   $t5,$t3,0x80000000         #there will be an overflow and    $t4,$t4,$t5                     #and these bits together and shift to the srl      $t4,$t4,31                      #Least significant bit. Will be 1 if overflow(both bits were1 addu  $t1,$t1,$t3                     #add the least significant bits addu  $t0,$t0,$t2                     #add the most significant bits addu  $t0,$t0,$t4                     #add in the overflow