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.

How do you create listing files from .asm modules?

I have been reading the Absolute Lister Example of the Assembly Language Tools User's Guide.  Can anyone give me direction on where to enter the following statements given in the example in the documentation?  I am unclear on the following statements given in the 5 steps of the example: Step 1-'masm55 module1'( I have named my .asm files 'module1.asm' and 'module2.asm' for simplicity).  Step 3-'cl55 -z fir.cmd'.  Step4-'abs fir.out'.  Step 5-'masm -a module.abs'.  I am assuming these statements go somewhere in the Build Options/File Specific Build Options but I am unclear where?  Any help on generating absolute listing files from a project consisting of 2 assembly modules and an associated linker file would be appreciated.

& Is any line in a .cmd file considered a command line?

Thanks,

Pat

  • In CCS, these steps need to be added as post-build steps.

    Create your project, add the source files and linker command file to the project and build. After the compile and link step, it will generate the .out file. You can then add the Steps 4 and 5 (abs55 and masm55) as post-build steps.

    You did not mention which version of CCS you are using. If CCSv4, the post-build steps can be specified in Project Properties->Build Properties->C/C++ Build->Build Steps tab. You can separate multiple commands using '&' as mentioned in this post: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/54088/191898.aspx#191898

    If you're using CCS3.3, it can be found under Project->Build Options->General tab (Final Build Steps).

     

    Patrick Hinkle said:
    Is any line in a .cmd file considered a command line?

    No they are not.