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.

C2000 中C语言与汇编混合编程的方法



是否可以使用类似asm("MNOP                " );    的语句在C程序中嵌入汇编语句。

但是目前发现的情况是只能嵌入一个nop在嵌入第二个nop的时候就会提示以下错误。

--preproc_dependency="cla/task.pp" --obj_directory="cla" "../cla/task.cla"
"C:\Users\LC\AppData\Local\Temp\0789211", ERROR! at line 330: [E0300] Symbol MNOP has already been defined
MNOP ; [CPU_]

1 Assembly Error, No Assembly Warnings