Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume the instruction memory is as follows for the MIPs architecture in Chapter 4 of the suggested text: Address - Data 0x0000A000 - move $t0,
Assume the instruction memory is as follows for the MIPs architecture in Chapter 4 of the suggested text:
Address - Data
0x0000A000 - move $t0, $t0, $t1
0x0000A004 - add $t0, $t0, $t1
0x0000A008 - beq $t0, $t0, 0xFFFF
In a file (answer.pdf) answer the following questions:
- Explain the signals set and operations of the 4 steps of execution when PC = 0x0000A004
- Assuming PC = 0x0000A008, what is the value of PC after the instruction completes?
- What is the sign extended value (32-bit value)? Draw a schematic drawing of a sign extender.
- Why do we shift left by 2 and what is the value after doing this?
- What is the base-10 value of the output signals in 1.1 and 1.2 (remember two's compliment)?
- What have we implemented here?
- What is the result of the next instruction after [1]?
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