#8 7, ( 10%) Translate the following \"if-. then . . . else instructions control
ID: 3734558 • Letter: #
Question
#8
7, ( 10%) Translate the following "if-. then . . . else instructions control structure into MIPS assembly ?else ( 8 (20%) Translate the following ARC assembly instruction into ARC machine intretion. (1) orcc %r5, 254, %r2 op rd 31 3029 28 27 26 25 24 23 22 21 20 19 18 17 16 1514 13 12 11 10 090 07 0 0504 03 02 01 00 op3 simm13 rs (2) addcc %r2, %r3, %r6 op simm13 rs2 rsl 18 17 16 15 14 13 12 1110 rd op3 08 0504 03 02 0100 (3) sethi OxABCD, %r12 op rd op2 simm22 212019 1817161514 1312 11100908 07 06 05 04 03 020100Explanation / Answer
Here is the MIPS assembly code for the above problem
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.