Convert the following C code into ARM assembly code. II pointer to v in x1,n in x2, return prod in xθ double arraytimes
Posted: Thu Jul 14, 2022 2:19 pm
Convert the following C code into ARM assembly code. II pointer to v in x1,n in x2, return prod in xθ double arraytimes (double *v, int n){ int i; double prod =1; for (i=0;i<n;i++) prod =v;