PreviousNext
setFSR01
Help > Appendix > Code Optimization > setFSR01

FLASH-                        RAM                Speed-

 

Registers FSR0 and/or FSR1 can be efficiently set to the common buffer addresses by calling IQRF OS setFSRxy function. Calling this function takes 2 instructions only. Setting both or one of the FSR registers normally takes 8 or 4 instructions respectively.

 

FSR0 = &bufferCOM[0];

FSR1 = &bufferINFO[0];

setFSR01( _FSR_COM, _FSR_INFO );