比如TI提供的四舍五入函数rnd_SP_RS.asm,怎么做成内联函数?这样比较省时间。谢谢!
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.
可以用asm(";*** this is an assembly language comment");内联汇编,但没法内联汇编函数。
一些简单的需要内联的汇编函数已经集成在编译器里,具体可以参考7.4.5 Using Intrinsics to Access Assembly Language Statements章节
另外7.4.4 Using Inline Assembly Language章节也请看一下:
楼主,可以用asm(";*** this is an assembly language comment");内联汇编,但没法内联汇编函数,它支持所有汇编指令。
一些简单的需要内联的汇编函数已经集成在编译器里,具体可以参考7.4.5 Using Intrinsics to Access Assembly Language Statements章节
另外7.4.4 Using Inline Assembly Language章节也请看一下: