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.

[参考译文] TMS320F28035-EP:持续使用优化的源代码标签

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1121474/tms320f28035-ep-persisting-source-code-labels-with-optimization

器件型号:TMS320F28035-EP

你好


是否可以使 C 源代码中的标签在汇编输出中显示为标签(无论是否使用)? 我知道可以使用 asm 语句而不是 C 源语句,但 Spru514r,优化 C C++编译器用户指南(第7.5.5节)警告不要这样做。

谢谢、此致、
米尔科

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="528714" URL"~μ C/support/microriers/C2000-microset-group/C2000/f/C2000-microset-forum/1121474/tms320f28035-EP-d持 保留源代码代码标签与优化"]是否可以使 C 源代码中的标签在汇编输出中显示为标签

    不幸的是、不  即使使用 asm 语句创建标签、也无法从 C 代码引用该标签。

    谢谢、此致、

    乔治