Question: If the instruction code for MOV is 0 0 , ADD is 0 1 , and SUB is 1 0 , and the registers R

If the instruction code for MOV is 00,ADD is 01, and SUB is 10, and the registers R0 to R7 are encoded from 000 to 111, How 1 point
will the instruction SUB R5, R6 be represented in binary (assuming the encoding format is lopcode(2-bits)|loperand1)(3-bits) Iloperand2(3-
bits)])?
10110110
11011011
10101110
10111011
If the instruction code for MOV is 0 0 , ADD is 0

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 Programming Questions!