请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F280025 主题中讨论的其他器件:C2000WARE
大家好、
客户有问题需要您的帮助:
作为标题、如何获取 PC 寄存器的值?
当 CCS 执行在线调试时、您可以查看 PC 寄存器的值。 如何获得代码中的 PC 值?

谢谢。此致、
本
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.
大家好、
客户有问题需要您的帮助:
作为标题、如何获取 PC 寄存器的值?
当 CCS 执行在线调试时、您可以查看 PC 寄存器的值。 如何获得代码中的 PC 值?

谢谢。此致、
本
尊敬的 Sira:
e2e.ti.com/.../4574724
该链接 来自内部论坛。
我能否在 C2000ware 中找到这两个文件(Lori 提到)? 或者我能否与客户共享这两个文件?
此致、
本
__get_XT:
PUSH XT ;; push the XT value onto the stack
POP ACC ;; pop the value into ACC to return to the calling function
LRETR
__get_P:
PUSH P ;; push the P value onto the stack
POP ACC ;; pop the value into ACC to return to the calling function
LRETR
__get_ACC:
LRETR ;; return ACC to the calling function
我没有测试这些、但它是直接的。