if (g


if (g < h)<br>9 = g + h;<br>else<br>g = g - h;<br>Based on the above if-else statements, complete the following MIPS program (Line 7 - Line 12):<br>.text<br>.globl main<br>2<br>4<br>main:<br>ori<br>ori<br>$s0, $0, 10<br>$s1, $0, 11<br># put 10 into $s0(g)<br># put 11 into $s1(h)<br>7<br>8<br>9<br>12<br>li $ve, 10<br>syscall<br>## End of file<br>13<br>14<br>15<br>16<br>111 11<br>

Extracted text: if (g < h)="" 9="g" +="" h;="" else="" g="g" -="" h;="" based="" on="" the="" above="" if-else="" statements,="" complete="" the="" following="" mips="" program="" (line="" 7="" -="" line="" 12):="" .text="" .globl="" main="" 2="" 4="" main:="" ori="" ori="" $s0,="" $0,="" 10="" $s1,="" $0,="" 11="" #="" put="" 10="" into="" $s0(g)="" #="" put="" 11="" into="" $s1(h)="" 7="" 8="" 9="" 12="" li="" $ve,="" 10="" syscall="" ##="" end="" of="" file="" 13="" 14="" 15="" 16="" 111="">

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here