请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
部件号:CC2640 工具/软件:TI C/C++编译器
您好,
我的目标是CC2640,我的IDE是CCSV7。
我想在 我的C代码的处理程序中读取通用寄存器的值,我想我可以对程序集执行此操作。 有人能告诉你在我的unsigned int变量中存储GP寄存器的最简单方法吗?
此致,
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.
在汇编中,编写返回寄存器值的函数。 请从C进行调用。 有关详细信息,请参阅 ARM编译器手册中标题为接口C和C++与汇编语言的部分。
谢谢,此致,
-George