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.

Generate assembly code file

Hi, I use ccs Version: 5.3.0.00090, 

How do I setting Build config to generate assembly code file after building my c source code.

  • Hi Mark,

    which compiler do you use exactly? There are compiler options available that keep assembly files after a successful build. E.G. for the MSP430 compiler you have to go to Properties -> Build -> MSP430 Compiler -> Advanced Options -> Assembler Options and enable "Keep the genertated assembly language (.asm) file". That is equal to --keep_asm or -k compiler option.

    Best regards,
    Christian

  • Hi Mark,

    Also you can redirect the generated asm files to particular directory by specifying the path in Properties -> Build -> MSP430 Compiler -> Directory Specifier (--asm_directory). If you dont specify, asm files would generated in the project debug build directory. This is JFYI.