Question: Decode the R type machine instruction with HEX format, [ the OP field has a value of 0 for all the R formation instruction, funct

Decode the R type machine instruction with HEX format, [the OP field has a value of 0 for all the
R formation instruction, funct filed: the value 32 indicates addition operation, 34 indicates
subtraction operation], hint: convert the hex representation to binary representation, divide
the binary representation to different fields according to the R type instruction format.
Which one is correct one to describe the machine instruction above?
a. add $t2, $t1, $t0
b. add $t1, $t0, $t2
c. sub $t2, $t1, $t0
d. sub $t1, $t0, $t2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!