Hi, directly not. This was a thread some days ago. For a simple solution, look at Scott's work (PIC Basic routines revealed or similar) at www.dontronics.com . This is the PinZ routine which does the main part of the task. Regards, Imre On Fri, 22 Oct 1999, PSL wrote: > Hello people > > Sorry to bother you all again but i have a question there hope you can help me ... > > > BTFSC PORTD,0 > Can I relpace the 0 with a memory address??? > BTFSC PORTD,PIN > Where pin is a ram location... > > thanks anyway.... > > regards > PSL > >