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.
我在 TMS570xx 上 、使用 TI ARM CC v20.5xxx
难以应对 TI 的 ARM CC 内联汇编. 似乎我只能传递有限的指令、或者无法识别完整的助记符。
似乎我无法将选项传递给指令。 例如、
asm (" DMB "); 没有抱怨
asm (" DMB sy "); 失败、不知道 什么是 SY (或任何)选项!
但是,编译器本身的内在函数确实会插入该特定指令,所以为什么.. ?
它是如此有限,还是如何使用此 asm()内联我需要的任何/所有指令?
遗憾的是、TI ARM 编译器不支持 GCC 样式的 asm 语句。 要了解支持的内容、 请在 TI ARM 编译器手册中搜索 标题为 _asm 语句的子章节。
谢谢、此致、
乔治