Question

Describe the modifications to the single clock cycle datapath that would be needed to implement the...

Describe the modifications to the single clock cycle datapath that would be needed to implement the jalr instruction (jump and link register), and give the control signal settings that would be required for this instruction.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The MIPS jump and link instruction, jal is used to support
procedure calls by jumping to jump address (similar to j ) and
saving the address of the following instruction PC+4 in register
$ra ($31)
jal Address
jal uses the j instruction format:

OP (6bit ) and target address (26bits)
Add any necessary datapaths and control signals to the single-clock datapath and justify the need for the modification if any.

Specify control line values for this instruction.

Instruction Word ← Mem[PC]
R[31] ← PC + 4
PC ← Jump Address

Add a comment
Know the answer?
Add Answer to:
Describe the modifications to the single clock cycle datapath that would be needed to implement the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT