Tony, If you need to cycle FSR from 0x40 to 0xFF and again, may be this will work: incf FSR, f ;increment FSR skpnz ;check for overflow from 255 to 0 bsf FSR, 6 ;if overflow fix FSR to 0x40 FSR should be preloaded with a number in 0x40-0xFF range. Nikolai On Friday, June 16, 2000 Tony Nixon wrote: > Just mucking around with code and the PIC does not seem to like this > combination. Weird things start happening. > incf FSR > bcf FSR,7 > bsf FSR,6 > I'm trying to keep the FSR value between 0x40 and 0xFF > -- > Best regards > Tony > http://www.picnpoke.com > mailto:sales@picnpoke.com