Consider the following IF statement: if ( ( (se == s1) || ( s2 == s3) ) && (se


Consider the following IF statement:<br>if ( ( (se == s1) || ( s2 == s3) ) && (se < s2) )<br>s1 = s3 ;<br>what would be the missing statement 1 and 2 in the following equivalent MIPS implementation:<br>---# statement 1<br>beq $se,$s1, process<br>--# statement 2<br>process : add $s1, $s3, $zero<br>exit<br>Select one:<br>a.statement 1 is ( bgt $s0, $s2, exit ) and statement 2 is (bne $s2, $3, exit)<br>b.None of the given answers<br>c.statement 1 is ( bge $s0, $s2, exit ) and statement 2 is ( bne $s2, $s3, exit)<br>d.statement 1 is ( bit $s0, $s2, process ) and statement 2 is ( bne $s2, $s3, exit )<br>e.statement 1 is ( bge $s0, $s2, exit ) statement 2 is ( beq $s2, $3, process)<br>

Extracted text: Consider the following IF statement: if ( ( (se == s1) || ( s2 == s3) ) && (se < s2)="" )="" s1="s3" ;="" what="" would="" be="" the="" missing="" statement="" 1="" and="" 2="" in="" the="" following="" equivalent="" mips="" implementation:="" ---#="" statement="" 1="" beq="" $se,$s1,="" process="" --#="" statement="" 2="" process="" :="" add="" $s1,="" $s3,="" $zero="" exit="" select="" one:="" a.statement="" 1="" is="" (="" bgt="" $s0,="" $s2,="" exit="" )="" and="" statement="" 2="" is="" (bne="" $s2,="" $3,="" exit)="" b.none="" of="" the="" given="" answers="" c.statement="" 1="" is="" (="" bge="" $s0,="" $s2,="" exit="" )="" and="" statement="" 2="" is="" (="" bne="" $s2,="" $s3,="" exit)="" d.statement="" 1="" is="" (="" bit="" $s0,="" $s2,="" process="" )="" and="" statement="" 2="" is="" (="" bne="" $s2,="" $s3,="" exit="" )="" e.statement="" 1="" is="" (="" bge="" $s0,="" $s2,="" exit="" )="" statement="" 2="" is="" (="" beq="" $s2,="" $3,="">

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here