The MSP430 compilers usually generate better code for unsigned variables when used as array's indexes.
Using signed variables for array indexing can slightly impact the code efficiency.
A signed variable is being used for array indexing.
Use unsigned variables (char, int, long) for array indexing.
See the rest of the code examples for all MSP430 devices here!
Want to squeeze a few more nanoAmps out of your application? Leverage the e2e (Engineer-to-Engineer) online community to get all of your ULP questions answered! Or, if you are an Ultra-Low Power pro, give back to the community with your expertise.
Go to MSP430's e2e online forum!
If you are posting on the forums in relation to this rule, try using the tag "ULP_14.1"
For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Compiler/diagnostic messages/MSP430/1545 here. |