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.

Printing File in Mixed Mode CCSv3.3

Hello,

I can view my code in mixed mode, but when I go to print it, the print file displays only the source mode. How can I print a file in mixed mode. I am using CCS v3.3

Haroon

  • I don't think you can print the interleaved source and asm listing directly from the mixed mode view in CCS, at least I am not aware of a way to do it. You can instead just create a interlisting file as part of the build process by enabling the compiler option -ss (under Build Options->Compiler->Feedback->Interlisting: C and ASM).

  • Hello Aarti,

    Thanks for the reply. I looked at the .lst files, they have lot more information than I need for a client presentation.

    Is there an option in CCS v3.3 where I can produce a file in the same format as I see in mixed mode?

     

    Haroon

  • Haroon,

    The extra information you're referring to is likely the debug information. You can eliminate that when generating the assembly listing file by building with --symdebug:none -ss. Then the .asm file generated should not contain the debug directives. Does that help get you closer to what you want?

  • Aarti,

     Thanks for the help. The mixed mode shows me in a concise manner the memory location of the start of each line of code. That is the information I need to present. Can you suggest another way to obtain this information?

    Haroon

  • Haroon,

    I don't know of any other way to obtain the information displayed in the mixed mode view.

    The assembly listing file will show you the interleaved C source and generated assembly but not the final memory address that the code is linked to. The output from the disassembler tool (dis2000) will show the memory address and disassembled output as seen in CCS, but not the interleaved source.

  • Thanks Aarti for your help.

     

    Haroon