EECS 2021M LABTEST I Programming Question 2 (75%)
Description
Write three short RISC-V assembly
functions maxV, minV and rscl and a main program that tests them. All functions have to follow the conventions for function calling. All functions and the main program should be in a single file named rscl.asm.
Copyright By PowCoder代写 加微信 powcoder
The C code of maxV is
double maxV(double *V, long long int imax)
long long int i;
double max, Vi;
max = V[0];
for (i=1; i