If we use internal data forwarding to speed up the performance of a CPU (R1, R2 and R3 are register and M[100] is a memory reference), then the sequence of operations
R1 → M[100]
M[100] → R2
M[100] → R3
can be replaced by
A
R1 → R3
R2 → M[100]
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
R1 → M[100]
R2 → R3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
M[100] → R2
R1 → R2
R1 → R3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
R1 → R2
R1 → R3
R1 → M[100]
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is D R1 → R2
R1 → R3
R1 → M[100] Internal data forwarding instead write to memory and then read from memory. We read directly from register itself instead from memory i.e,