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.

MSP430F5438A: How to invoke compiler specific functions from user code

Part Number: MSP430F5438A


Hi,

we are using ti-cgt-msp430_18.12.3.LTS compiler in our application.

how to invoke _ _mspabi_rlli(), _ _mspabi_rlll() compiler functions from user code, or at what instance compiler needs this rotate function

Please provide clarity on this or suggest any ti document for the same

Thanks,

Manjunath

  • Those are internal functions used to support things like the "<<" operator. You don't need to worry about them at all. They of course are not documented except in the compiler sources.

  • Hi David,

    thanks for your response.

    In our application we not suppose to use compiler functions, so only required compiler functions (division, shift, multiplication) we included in our application

    we are using "<<" and ">>" in our application, so if we not include _ _mspabi_rlli(), _ _mspabi_rlll() rotate function in our application will it cause any issue?

  • You cannot in general get away from the compiler support functions. The compiler is always going to generate code assuming they are available and include the library in its link options.

    Avoiding those functions is silly and serves no purpose whatsoever.

**Attention** This is a public forum