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.

[参考译文] Compiler/CC2640:通过C代码添加汇编指令

Guru**** 2611705 points
Other Parts Discussed in Thread: CC2640

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/642871/compiler-cc2640-add-assembly-instruction-through-c-code

部件号:CC2640

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

您好,

我的目标是CC2640,我的IDE是CCSV7。

我想在 我的C代码的处理程序中读取通用寄存器的值,我想我可以对程序集执行此操作。 有人能告诉你在我的unsigned int变量中存储GP寄存器的最简单方法吗?

此致,