This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何在CCS中使用c语言和线性汇编语言计算数组的绝对误差和(SAD),希望能提供完整的源程序,我是新手,谢谢



a[3]={15,25,24}

b[3]={12,32,13}

求c[i]=| a[i]-b[i] |,用C来调用线性汇编?谢谢

第二个问题:SUBABS4这个指令如何结合数组使用?谢谢?