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.

[参考译文] TMS320C6745:如何从反汇编中删除.fphead信息

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1100587/tms320c6745-how-to-remove-fphead-information-from-disassembly

部件号:TMS320C6745

我正在查看Code Composer生成的反汇编。 有一条线

E1200083 .fphead n,l,W,BU,nobr,nosat,0001001

This is not a 'real' instruction as far as the processor is concerned, but rather it is informational. 

Does anyone know the compiler/build/link option that disables this?

I need it removed from the final myProgram.out file that is generated.

Thanks!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    就处理器而言,这不是一个'真实'指令,而是信息性的。

    它不是与ADD指令相同含义的指令。  但它存在于内存中(它占用32位),它将信息提供给CPU,然后CPU对其进行操作。  因此,如果您扩大了对什么是指令的期望,那么Fetch数据包标头就是一个真正的指令。  有关更多背景信息,请参阅 此论坛主题

    在这种情况下,无法删除.fphead。  但我有两个建议供你们考虑。

    一个... 查看编译器生成的汇编代码。  一个很好的方法是使用编译器选项--src_interlist。  它使扩展名为.asm的文本文件出现在以当前构建配置命名的文件夹中(通常为Debug)。  

    两个... 使用独立的反汇编程序。  它被命名为dis6x。  它与编译器cl6x位于同一目录中。  从命令行界面,运行类似于...的命令。

    dis6x file.out | findstr /v fphead

    file.out更改为链接程序创建的最终可执行文件的名称。  命令findstr内置在Windows中。  如果您使用的是Linux系统,请改用fgrep -v

    谢谢,此致,

    -George