Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. (20 pts) Suppose that an instruction cycle of the LC-3 has just finished and another one is about to begin. The following table describes
5. (20 pts) Suppose that an instruction cycle of the LC-3 has just finished and another one is about to begin. The following table describes the values in select LC-3 registers and memory locations: Register value x3000 x3003 3002 X3003 value O Memory Location X3000 x62BF X3001 x3000 X3002 X3001 X3003 X62BE O For each phase of the new instruction cycle, specify the values that PC, IR, MAR, MDR, R1, and R2 will have at the end of the phase in the following table: PC IR MAR MDR R1 Fetch Decode Evaluate Address Fetch operands I O Execute store Result Hint: Example 4.2 from the book illustrates the LDR instruction of the LC-3. Notice that values of memory locations X3000 and x3003 can be interpreted as LDR instructions. 5. (20 pts) Suppose that an instruction cycle of the LC-3 has just finished and another one is about to begin. The following table describes the values in select LC-3 registers and memory locations: Register value x3000 x3003 3002 X3003 value O Memory Location X3000 x62BF X3001 x3000 X3002 X3001 X3003 X62BE O For each phase of the new instruction cycle, specify the values that PC, IR, MAR, MDR, R1, and R2 will have at the end of the phase in the following table: PC IR MAR MDR R1 Fetch Decode Evaluate Address Fetch operands I O Execute store Result Hint: Example 4.2 from the book illustrates the LDR instruction of the LC-3. Notice that values of memory locations X3000 and x3003 can be interpreted as LDR instructions
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