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.

[参考译文] TDA4VM:如何获得 MCU2_0 CPU 寄存器状态、如 CPSR 寄存器?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1245663/tda4vm-how-to-get-mcu2_0-cpu-register-status-like-cpsr-register

器件型号:TDA4VM

您好、专家:

    我们希望 在 C 源文件中获取 CPSR 寄存器值、但我们的内联汇编代码无法在谷底编译。您能帮助我们编写一段代码来获取 CPSR 寄存器值吗?

    谢谢!

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

    编译器为 cgtools/ti-cgt-arm_20.2.0.LTS/bin/armcl。