Central Processing Unit Q.32

0. Data forwarding techniques can be used to speed up the operations in presence of data dependencies. Consider the following replacements of LHS with RHS.
(i) R1 → Loc, Loc → R2 → R1 → R2, R1 → Loc
(ii) R1 → Loc, Loc → R2 → R1 → R2
(iii)R1 → Loc, R2 → Loc → R1 → Loc
(iv) R1 → Loc, R2 → Loc → R2 → Loc
In which of the following options, will be result of executing the RHS be the same as executing the LHS irrespective of the instructions that follow?

  • Option : None
  • Explanation : Only (i) Is true, as both registers and location are updated.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *