Question: (a) Some ISAs have bit-reversal instructions. Create an instruction that reverses the 32 bits in one general-purpose register bit by bit and store it back

(a) Some ISAs have bit-reversal instructions. Create an instruction that reverses the 32 bits in one general-purpose register bit by bit and store it back to the destination register. Add this instruction to the MIPS processor model in Figure 9-8.

(b) Create a test bench to test this instruction.

Step by Step Solution

3.38 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a This solution uses Rformat encoding for the instruction with an fcode of 39 ... View full answer

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 Digital Systems Design Questions!