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.

Migration from IAR to CCS

Hi,

I want to migrate a IAR project to a CCS 5.1.
IAR C Code:
__regvar __no_init unsigned char AState @ __R4;

Can somebody say me correct syntax for CCS or how can i reserve register in Code Composer Studio?

Thanks!
Sven

  • The TI compiler supports the "register" keyword (to suggest that variables be allocated into registers) as well as a global_register={r4|r5} option (for reserving registers for use by the user). If you're working with MSP430, please see the MSP430 Compiler Users Guide for more information.  Also, just FYI, in case you weren't already aware, the CCS Users Guide for MSP430 also has other tips for migrating from IAR to CCS.