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.

TMS470 compiler: generate assembly listing with instruction offset

Hi all,

Is it possible to generate assembly listing with the relative offset of the instructions? E.g:
// void main(void)
// {
// printf("Hello Wordl"); 
main:
0x0000  LDR    R13, 1223 ...

Currently I use the following parameters:
-k -al -ss

Regards,
Lajos 

  • Lajos Rancz said:
    Currently I use the following parameters:
    -k -al -ss

    Those options produce a listing file with compiler generated comments.  The file is the same name as the C source file, but with the extension changed to .lst.  If you are building with Code Composer Studio, the file is located in a directory with the same name as the current build configuration, usually "Debug".

    Hope this helps ...

    -George

  • Hi!

    Oh, thanks! I was looking it in the .sem3 file!

    Regards,
    Lajos