Question: Write a RV32IM assembly program that implements the code segment in C (integer aXpY). How long does it take to complete a program assuming 5-stage

Write a RV32IM assembly program that implements the code segment in C (integer aXpY). How long does it take to complete a program assuming 5-stage RV32IM. What is execution time of single interation of the loop iaXPY? Bonus (). Write another version of this program that will operate on 64-bit integers (a, X,Y, and Z are 64bit long). The program should also be optimized. Please note that you should still use RV32IM, rather than RV64IM
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
