Question: Please solve number 5-12 please i need help. 5. For the following assembly instruction, what is the machine code in decimal representation, binary representation and
5. For the following assembly instruction, what is the machine code in decimal representation, binary representation and hexadecimal representation respectively, respectively? Assume that the code of add is O, the codes of registers $81, $s2 and $t0 are 17, 18 and 8, respectively. add $t0,$s 1, $s2 6. For the following assembly instruction, what is the machine code in decimal representation, binary representation and hexadecimal representation, respectively? Assume that the code of lw is 35, the codes of registers are $t0 and $t1, respectively. lw $t0, 4($t1) 7. What is the MIPS assembly code to move the value of register $s 1 to registers $t1 8. What is the MIPS assembly code to add 8 to $s2? 9. What is the MIPS assembly code to subtract 4 from $s3? 10. What are the 8 bit representation for the +4 and 4 respectively? 11. What is the MIPS assembly code to multiply 8 to $50? 12. What is the MIPS assembly code to divide $s0 by 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
