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.

dsp汇编问题请教



c6678。

ccs5.

引用变量:

.global _a

LDB *+DP(_a),B0            ;将C文件中定义的变量a的值存到B0寄存器中

那么怎样在汇编文件中引用C中定义的数组?

比如说C中定义

int a[8];

怎么将a[2]的值存到B0寄存器中?

谢谢!