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.

DSPLIB库函数字节对齐问题



我在用6000系列DSP的库函数中,做FFT和FIR均对数组有要求,要求为double-word aligned。那这个双字对齐,是指的4字节对齐吗?还是指起始地址的第三位为0?

那我用#Pragma DATA_ALIGN(X,8)和_nassert(((int)X&Ox7)==0)这两句话一样吗?这两句指令区别在哪呢?用哪个正确呢?