Question: Write the following sequence of code into MIPS assembly: x = x + y + z-4; Assume that x, y, z, q are already stored

Write the following sequence of code into MIPS assembly: x = x + y + z-4; Assume that x, y, z, q are already stored in registers $s1-$s4. Format BIU IIII 1. Consider the following I type instruction: op 15 constant or address Where the opcode - addi, rs = $s2 and rt-$s1. The value of register $s2 is 01001010, and the constant value is - 11101110. Both are stored in 8 bit 2's complement format. The resulting MIPS code is addi $s1, s$2, 1001100 What is the decimal value of $s1? Paragraph BI U
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
