2. The following snippets of assembly include data hazards. Indicate where to insert no-ops and how many, or which instr
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
2. The following snippets of assembly include data hazards. Indicate where to insert no-ops and how many, or which instr
2. The following snippets of assembly include data hazards. Indicate where to insert no-ops and how many, or which instructions to stall, in order for this code to run on the 5-stage processor discussed in class. Assume no forwarding, and the register file is written to on the falling edge. Assume there is code above and below the provided code. Each part of this question is independent from the other parts. a. AND RO, R1, R3 ADD R1, R2, RO SUB R7, R8, R9 ORR R3, R1, R8 b. AND RO, R1, R3 LDR R1, [R2, #01 ORR R1, R3, R8 LDR R2, [R1, #0] AND R1, R3, R6 ORR R2, R3, 6
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!