Question: Problem 2 Represent the following instructions in binary (machine code) format. a. add $t1, $s1, $s2 (R format) b. addi $t0, $s1, -2 (I format)
Problem 2
Represent the following instructions in binary (machine code) format.
a. add $t1, $s1, $s2 (R format)
b. addi $t0, $s1, -2 (I format)
Opcode and funct numbers for add and addi are given in following table:
Mnemonic Meaning Type Opcode Funct
add Addition R 00 32
addi Add Immediate I 08 NA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
