文件名称:DSPprogram
介绍说明--下载内容均来自于网络,请自行研究使用
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)
(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)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DSP作业.doc
Guo_work
........\C-ASM
........\.....\C-ASM
........\.....\.....\addarr2.c
........\.....\.....\C-ASM.paf
........\.....\.....\C-ASM.pjt
........\.....\.....\cc_build_Debug.log
........\.....\.....\Debug
........\.....\.....\Debug.lkf
........\.....\.....\Debug.lkv
........\.....\.....\load.asm
........\.....\.....\volume.c
........\M32
........\...\M32
........\...\...\cc_build_Debug.log
........\...\...\Debug
........\...\...\Debug.lkf
........\...\...\Debug.lkv
........\...\...\M32.c
........\...\...\M32.paf
........\...\...\M32.pjt
........\_MAC_16bit
........\..........\16mac.asm
........\..........\16_MAC
........\..........\......\16_MAC.paf
........\..........\......\16_MAC.pjt
........\..........\......\cc_build_Debug.log
........\..........\......\Debug
........\..........\......\Debug.lkf
........\..........\......\Debug.lkv
Guo_work
........\C-ASM
........\.....\C-ASM
........\.....\.....\addarr2.c
........\.....\.....\C-ASM.paf
........\.....\.....\C-ASM.pjt
........\.....\.....\cc_build_Debug.log
........\.....\.....\Debug
........\.....\.....\Debug.lkf
........\.....\.....\Debug.lkv
........\.....\.....\load.asm
........\.....\.....\volume.c
........\M32
........\...\M32
........\...\...\cc_build_Debug.log
........\...\...\Debug
........\...\...\Debug.lkf
........\...\...\Debug.lkv
........\...\...\M32.c
........\...\...\M32.paf
........\...\...\M32.pjt
........\_MAC_16bit
........\..........\16mac.asm
........\..........\16_MAC
........\..........\......\16_MAC.paf
........\..........\......\16_MAC.pjt
........\..........\......\cc_build_Debug.log
........\..........\......\Debug
........\..........\......\Debug.lkf
........\..........\......\Debug.lkv