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.
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
Assume that x28 is initialized to 28, x29 is initialized to 29, and x30 is initialized to 30. Suppose you executed the c
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Assume that x28 is initialized to 28, x29 is initialized to 29, and x30 is initialized to 30. Suppose you executed the c
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!