At 11:31 PM 3/9/00 +0000, you wrote: >A really odd problem here. > >why does the following line of code not work? > >bcf W, 0x02 > >my understanding is that W is classed as a file register, or is it? > >robert. It is for the 17Cxx family (w is named wreg in this case) and probably for the 18cxx family but not for any of the 16C or derivative family parts (12C, 14C) For the 17Cxx family you could use: bcf WREG,0x02 With the 16Cxx parts you could do the same with: andlw 0xfb and for BSF W,0x02 iorlw 0x02 -Jim -- >Robert Hodkinson, SF nut and a Render-head. >www.geocities.com/SoHo/Coffeehouse/5939 >reply email is bag.it@cableol.co.uk > Regards, Jim Robertson NEWFOUND ELECTRONICS ________________________________________ Email: newfound@pipeline.com.au http://www.new-elect.com MPLAB compatible PIC programmers. ________________________________________