Page 1 of 1

Assume that x28 is initialized to 28, x29 is initialized to 29, and x30 is initialized to 30. Suppose you executed the c

Posted: Mon May 09, 2022 7:07 am
by answerhappygod
Assume that x28 is initialized to 28, x29 is initialized to 29,
and x30 is initialized to 30. Suppose you executed the code below
on a version of the pipeline that does not handle data hazards
(i.e., the programmer is responsible for addressing data hazards by
inserting NOP instructions where necessary). What would the final
values of registers x28 and x29 be? Provide your answer with
detailed calculation and explanation.
Assume That X28 Is Initialized To 28 X29 Is Initialized To 29 And X30 Is Initialized To 30 Suppose You Executed The C 1
Assume That X28 Is Initialized To 28 X29 Is Initialized To 29 And X30 Is Initialized To 30 Suppose You Executed The C 1 (94.48 KiB) Viewed 29 times
PCS IDEX WB EX/MEM Control M we addi x28, X29,5 add x28, 28, X30 addi x29, x28, 10 MEMWO EX IFD Add AS Shit 1 Brane ALUS UL LE ve Address Read register Read ca Meg Rew ALU ALU Instruction memory Read resu Register Write Read data 2 We data Address Data HE memory RE Instruction 14 Gen Menad Instruction 14.121 ALU contro ALUD Instruction 101-1