5. Assume a machine with a 7-stage pipeline. Assume that branches are resolved in the sixth
stage. Assume that 20% of instructions are branches. Answer the following questions.
5.2 Assume N instructions are on the correct path of a program and assume a branch predictor
accuracy of A. Write the equation for the number of instructions that are fetched on this machine in
terms of N and A.