PreviousNext
Advanced C-compiler optimized instructions
Help > Appendix > Code Optimization > Advanced C-compiler optimized instructions

FLASH-                        RAM                Speed+

 

It is efficient to use C-compiler optimized instruction, e.g. MOVIW.

 

byte = INDF0; // = *FSR0

FSR0++;

mask = INDF0; // = *FSR0

FSR0 -= 5;

var = INDF0; // = *FSR0

byte = *FSR0++;

mask = INDF0; // or = *FSR0

var = FSR0[-5];