Question: Write the machine code for the following assembly instructions. The opcodes for each instruction is: addi = 0x8. sub = 0x0. bne = 0x4. The

Write the machine code for the following assembly instructions. The opcodes for each instruction is: addi = 0x8. sub = 0x0. bne = 0x4. The function field of sub is 0x30. Give your answers in hexadecimal. addi r2, r5, 17 sub r4, r3, r6 Write the machine code for the following assembly instructions. The opcodes for each instruction is: addi = 0x8. sub = 0x0. bne = 0x4. The function field of sub is 0x30. Give your answers in hexadecimal. addi r2, r5, 17 sub r4, r3, r6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
