PreviousNext
Expression modification
Help > Appendix > Code Optimization > Expression modification

FLASH-                        RAM                Speed+

 

Simplifying algebraic expressions can help the CC5X compiler to produce more efficient code.

 

uns8 a, b;

 

if ( a > ( 16 - b ) )

       nop();

uns8 a, b;

 

if ( a + b > 16 )

       nop();