Question
The pipelined MIPS starts executing the following five instructions stored in memory addressed from 0x40000000 . Initial register contents are as follows. Assume that all
The pipelined MIPS starts executing the following five instructions stored in memory addressed from 0x40000000. Initial register contents are as follows. Assume that all other registers are initialized to zero. At the fifth cycle, each stage of the pipeline executes the instruction shown in the figure. Identify the values for wires in the figure (marked (a)-(z)) just after the fifth cycle of the execution.
Instructions executed as well as their binary and hexadecimal representations are as follows (numbers used in instructions are decimal numbers).
lw $10, 20($1) 100011 00001 01010 0000 0000 0001 0100 (0x8c2a 0014)
sub $11, $2, $3 010000 00010 00011 01011 00000 100100 (0x4043 5824)
and $12, $4, $5 010000 00100 00101 01100 00000 100110 (0x4085 6026)
or $13, $6, $7 010000 00110 00111 01101 00000 100111 (0x40c7 6827)
add $14, $8, $9 010000 01000 01001 01110 00000 100000 (0x4109 7020)
Initial register contents are:
$pc = 0x4000 0000, $4 = 0x0000 0400, $5 = 0x0000 0500
RegEes Read 2DStep 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