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.

[参考译文] 编译器/TM4C123GH6PGE:如何将变量传递到内嵌汇编代码

Guru**** 2582405 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/663652/compiler-tm4c123gh6pge-how-to-pass-variable-to-inline-assembly-code

部件号:TM4C123GH6PGE

工具/软件:TI C/C++编译器

大家好,我需要将unit16_t变量传递给内嵌汇编代码,对如何实现这一点有什么建议? 我正在使用TM4C123G。

提前感谢!

Richard

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    遗憾的是,TI ARM编译器不支持此功能。  我很确信,使用GCC ARM编译器是可以做到的,尽管我不知道详细信息。

    谢谢,此致,

    -George

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢George的介绍,虽然有点失望:-)   

    此致,

    Richard