How many cycles are required to run the following program on the multicycle MIPS processor? What is the CPI of this program?
addi $s0, $0, done # result = 5 while: beq $s0, $0, done # if result > 0, execute while block addi $s0, $s0, -1 # while block: result=result-1 j while done: