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.

关于TMS320F28335的汇编程序问题



.cdecls   C,LIST,"PeripheralHeaderIncludes.h"

.cdecls C,NOLIST, "SolarHv_DCAC-Settings.h"

.cdecls这个伪指令的格式是.cdecls [options ,] " filename "[, " filename2 "[,...]]

想请问下[options ,]指代什么?C,LIST,和C,NOLIST, 具体是什么意思。谢谢!

  • 参考以下链接的编译器手册,有cdecls伪指令的详细解释,比如

    NOLIST :Do not include the converted assembly code in any listing file generated
    for the containing assembly file (default).

    C:Treat the code in the .cdecls block as C source code (default).

    LIST: Include the converted assembly code in any listing file generated for the
    containing assembly file. This is the opposite of the NOLIST option.

    具体每个版本编译器有区别,需要查看每个编译器的手册。

    http://software-dl.ti.com/codegen/non-esd/downloads/download.htm