Or if RAM_AD_X are contigous: movwf fsr movlw RAM_AD_1 addwf fsr,f movf indf,w . . . Best regards, Reggie Tony Nixon wrote: > > Alice Campbell wrote: > > > > Is there a way to load a file instead of a literal using a table: > > > > for example > > a_table > > movwf pcl > > return-with-in-work buffer1 > > return-with-in-work buffer2 > > return-with-in-work buffer3 > > return-with-in-work buffer4 > > > > thanks, > > alice > > Maybe this.... > > movf Offset,w > call RAM_AD > movwf fsr > movf indirect,w > ...... > > RAM_AD > addwf pcl > retlw RAM_AD_1 > retlw RAM_AD_2 > retlw RAM_AD_3 > retlw RAM_AD_4 > > -- > Best regards > > Tony > > http://www.picnpoke.com > mailto:sales@picnpoke.com