Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

Binary file to assembly file

Hello,

I have generated binary text file of my CCS 4.2 project with the help of this link and successfully loaded on my msp430 MCU.

http://processors.wiki.ti.com/index.php/Generating_and_Loading_MSP430_Binary_Files

Now i want to know that weather is it possible to regenerate any assembly file or c files of my actual project from the binary text file?

Regards and thanks,

Sunil.

  • Sunil Shahu98730 said:
    whether is it possible to regenerate any assembly file or c files of my actual project from the binary text file?

    It is possible, yes - but why would you want to do such a thing?

    A tool that converts from binary to assembly is called a Disassembler - being the "reverse" of what an Assembler does!

    Disassembly  is relatively straightforward, as there is a 1:1 relation from assembly source instructions to binary instructions.

    The main difficulty for a disassembler is to distinguish code from data in the binary.

    Note that you cannot get any symbol information from a pure binary image; ie, no variable names, no subroutine names, no label names, no constant names - just raw data & addresses.

    Getting 'C' source is far more problematic, as there is no direct correspondence between 'C' source statements and machine instructions - especially wit optimisation!!

     

  • thank you Andy,

    thanx for clearing my droughts..

**Attention** This is a public forum