在l138 的dsp的c语言中可以嵌入asm("IDLE")语句吗? 如果可以为什么asm("IDLE");asm("IDLE");会编译出错?
错误输出为e0300 :symbol IDLE has already been defind
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.
在l138 的dsp的c语言中可以嵌入asm("IDLE")语句吗? 如果可以为什么asm("IDLE");asm("IDLE");会编译出错?
错误输出为e0300 :symbol IDLE has already been defind
你好!
c语言中是可以嵌入汇编语言的。报错可能是因为你的某个头文件已经定义过IDLE了,你可以将IDLE改成小写的idle试试。
谢谢!