PreviousNext
Avoiding readFromRAM and getINDFx
Help > Appendix > Code Optimization > Avoiding readFromRAM and getINDFx

FLASH-                        RAM                Speed+

 

IQRF OS allows to use *FSR0, *FSR1, INDF0, INDF1 for memory read purposes instead of inefficient and obsolete readFromRAM() and getINDFx() calls.

 

byte = readFromRAM( &mask );

FSR0 = (uns16)&mask;

byte = *FSR0;