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.

MSP430F5529: Avoid use of mspabi optimisation code

Part Number: MSP430F5529

Hello everyone, I'm writing a custom code instrumentation tool which requires to have the source code of all of the application binary. Basically my problem is that the application, whose source code is available, when compiled automatically generates some additional code which is used for optimisation. This code, however, does not correspond to any source file which is one of my requirements.

As a consequence I need to do one of the following three things:

  1. Access the source or assembly code of this optimisation code
  2. Prevent mspgcc from including and using it, thus forsaking the optimisation
  3. Include my own version of the optimisation (already instrumented)

The optimisation code I'm talking about is the one referred to as "__mspabi...", such as "__mspabi_srll_8", or "__mspabi_slll_1" and so on. This code allows the application to use the same piece of code when doing multiple shift operations, jumping to these labels whenever necessary.

IS anybody able to help me? Thank you

I'm using mspgcc 9.2.

**Attention** This is a public forum