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.
部件号:LAUNCHXL-F2.8377万S
工具/软件:TI C/C++编译器
您好,
我已经知道如何编程汇编器功能。 但是,是否有一种内联编程方法,例如:
浮点A = 10.55 ;
浮点b = 3.44 ;
_ASM (" MOVL R0H,_A?"
" MOVL R1H,_b?"
"添加... "
问题是当我使用内嵌汇编时,如何访问变量a和b?
非常感谢,
Jonas
Jonas,
遗憾的是,无法从这样的内联装配体中访问变量。 要执行此操作,您需要编写汇编函数。
此致,
Richard