PreviousNext
Explicit MOVLB omitting
Help > Appendix > Code Optimization > Explicit MOVLB omitting

FLASH-                        RAM                Speed+

 

Under certain circumstances and CC5X settings (-bu command line option) the CC5X generates excess MOVLB instructions. Using #pragma updateBank MOVLB can be suppressed. It is recommended to study .lst files.

 

if ( byte > 0x04 )

  byte = 0;

byte *= 2;

 

if ( byte > 0x04 )

  byte = 0;

#pragma updateBank 0

byte *= 2;

#pragma updateBank 1