Question: To perform the return from function call implement jr rs instruction ( jump to register rs ) in the single cycle datapath shown below. The

To perform the return from function call implement jr rs instruction (jump to register rs) in the single cycle datapath shown below. The format of jr instruction is shown below
Field | op =0| rs |0| func =8|
Bits |31-26|25-21|20-6|5-0|
Show what changes are needed to support jr instruction. You should only add wires and muxes to the datapath; do not modify the main functional units thenselves (the memory, register file, ALU). Your solution should not lengthen the clock cycle. Assume that the ALU, Memory and Register file all take 2ns, and everything else is instantaneous. Draw a similar diagram as shown below on your answer sheet and mark on the diagram the changes required for implementation of jr.
Also in the diagram write (next to the signal's name) values of all non-0 control signals required for the jr instruction.
To perform the return from function call

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!