Question: 2. Examine the difficulty of adding a proposed swap Rd, Rn instruction to the LEGv8 instruction set, which works as follows: Reg[Rd] = Reg[Rn]; Reg[Rn]
2. Examine the difficulty of adding a proposed swap Rd, Rn instruction to the LEGv8 instruction set, which works as follows: Reg[Rd] = Reg[Rn]; Reg[Rn] = Reg[Rd]; (20 pts)
a. Which new functional blocks (if any) do we need for this instruction? (4 pts)
b. Which existing functional blocks (if any) require modification? (4 pts)
c. What new datapaths do we need (if any) to support this instruction? (4 pts)
d. What new control unit signals (if any) do we need for this instruction? (4 pts)
e. Modify the complete control and datapath Figure to demonstrate the implementation of this new instruction.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
