Consider the following loop loop lw r1 0r1 and r1 r1 r2 1 w
Solution
\\begin{table}[hp]
\\caption{Third Iteration}\\label{tab:iteration}
\\begin{center}
\\begin{tabular}{cccccccccccccc}
\\toprule
\\textbf{Iter} & \\textbf{1} & \\textbf{2} & \\textbf{3} & \\textbf{4} & \\textbf{5}
& \\textbf{6} & \\textbf{7} & \\textbf{8} & \\textbf{9} & \\textbf{10} & \\textbf{11}
& \\textbf{12} & \\textbf{13} \\\\
\\midrule
lw3 & WB \\\\
beq & ID & EX & MEM & WB \\\\
lw1 & IF & ID & EX & MEM & WB \\\\
and & & & IF & ID & EX & MEM & WB \\\\
lw2 & & & & IF & ID & EX & MEM & WB \\\\
lw3 & & & & & & IF & ID & EX & MEM & WB \\\\
beq & & & & & & & & & IF & ID & EX & MEM & WB \\\\
lw1 & & & & & & & & & & IF & ID & EX & MEM \\\\
and & & & & & & & & & & & & IF & ID \\\\
lw2 & & & & & & & & & & & & & IF \\\\
\\bottomrule
\\end{tabular}
\\end{center}
\\end{table}
\\subsection{2}
\\begin{fancyquotes}
\\end{fancyquotes}
So, if we consider that the loop will run a lot of times, then the useful cycles is $3/5=60\\%$ of all.

