The lab is to understand how instructions work along with Ripes simulator. It starts from the small program, Factorial number, with recursion, and go on to study each stage of 5-stage-pipeline and hazards.
Factorial Number
The Factorial number sequence is a recursive method to define:
$\ \ \ \ \ \ N_0=0,\ N_1=1$
and
$\ \ \ \ \ \ N_n=N_{n-1 }* n$
for $n>1$
Implement in C code