James, thanks very much for the additional information and stated my problem an d the answer I need as well, thanks for the extra information on the possible problem I hadn't even considered, I will be adopting the code segment you outlayed. > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of James Cameron > Sent: Monday, 4 January 1999 8:26 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: Bit test commands and ports > > > Geoff Thornton wrote: > > It looks like I will have to do a MOVF port,W followed by a BTFSS or > > BTFSC to achieve what I'm after, thanks for the help, and thank you too > > Dmitry. > > Actually, based on what you have said before, I think what you will end > up with is something like this ... > > MOVF port,W > MOVWF port > MOVWF file > BTFSS file,bit > Regards Geoff :) ================== geoff@techie.com