1、(1)32bit乘法的指令解释
(2)volume1的load.asm基础上实现一个
16bit数组的乘法累加的函数,并进行 -o2 / -o3 / 手工优化
2、c环境
C调用汇编函数,汇编函数调用c函数
addarr3(int * arr1, int * arr2, int * arr3, int * arr4, n)
//汇编函数,3个数组的对应位置相加,结果放在arr4[n]中,
汇编函数调用C的子函数,它把arr1和arr2相加放到arr3[n]中;
addarr2(int * arr1, int * arr2, int * arr3, n)-1, (1) 32bit multiplication instructions explained (2) the load.asm volume1 on the basis of a a 16bit multiplication cumulative array of functions, and-o2 /-o3/2 manual optimization, c environment compilation called C function, the compilation function call c function addarr3 (int* arr1. int* arr2, arr3 int*, int* arr4, n)// compilation function, 3 arrays corresponding location together, the results on arr4 [n], the compilation of the C function call function, arr1 put it together and put arr2 arr3 [n]; addarr2 (int* arr1, int* arr2, int* arr3, n)