FLASH- RAM Speed+
When a variable in RAM is addressed, it is impossible that the variable content would lie in more than one PIC RAM bank. Therefore when a pointer value to a variable is calculated the higher byte of the pointer is never changed and the calculation can be done only on the lower byte.
uns8 indexAtBufferINFO; ... FSR0 += indexAtBufferINFO; |
uns8 indexAtBufferINFO; ... FSR0L += indexAtBufferINFO; |
Please note that when a constant value (from -32 to +31) is added to an FRSx register, then the calculation should be always done with the whole register as the optimal PIC ADDFSR instruction is used.
setFSR0( _FSR_INFO ); FSR0 += 12; |