Question
An instruction set for a specific architecture is called the ISA. Each processor has its own ISA. You know that the lw instruction will get
An instruction set for a specific architecture is called the ISA. Each processor has its own ISA. You know that the lw instruction will get a constant value and a register, and the summation of these two numbers will be used as the address of the memory location. Now assume you are asked to add a new instruction to this processor with the following specifications: Instruction: LWI Rt, Rd(Rs) Interpretation: REG[] = MEM[Reg[Rd] + Reg[Rs]] Difference between this instruction and regular LW is that the address is based on the data of two registers instead of the constant value and one register. (a) Which existing block will you need for LWI? (b) Which new function or block you need to add (if any) for this instruction to the single cycle processor. (c) What changes need to be made in control unit for this instruction (if any)? Explain your answer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started