Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In this exercise we examine in detail how an instruction isexecuted in a single-

ID: 3610086 • Letter: I

Question

In this exercise we examine in detail how an instruction isexecuted in a single-cycle datapath. Refer to a clock cyclein which the processor fetches the following instruction word(below): 10001100010000110000000000010000 What are the outputs of the sign-extended and the jump Shift Left2 unit for this instruction word? What are the values of theALU control unit's input for this instruction and what is the newPC address after this instruction is executed? Refer to the figure below. The simple control and datapath are extended to handle the jump instruction. An additional multiplexor At the upper right) is used to choose between the jump target and either the branch target or the sequential instruction following this one. This multiplexor is Controlled by the jump control signal. The jump target address is obtained by shifting the lower 26 bits of the jump instruction Left 2 bits, effectively adding 00 as the low-order bits, and then concatenating the upper 4 bits of PC + 4 as the high-order bits, thus yielding a 32 bit address

Explanation / Answer

100011

00010

00011

0000000000010000

RegDest

Jump

Branch

MemRead

MemtoReg

ALUOp

MemWrite

ALUSrc

RegWrite

0

0

0

1

1

00

0

1

1

000100

00001

00011

0000000000001100

RegDest

Jump

Branch

MemRead

MemtoReg

ALUOp

MemWrite

ALUSrc

RegWrite

x

0

1

0

x

01

0

0

0

100011

00010

00011

0000000000010000

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote