RE: 16F84A BTW I have include "p16F84A.inc" Thank you all your input... I tried this... movlw b'00000000' movwf OPTION_reg and I get this "Register in operand not in bank 0. Ensure that bank bits are correct." So I did this.... bsf 03,5 movlw b'00000000' movwf OPTION_reg bcf 03,5 and I still get this Register in operand not in bank 0. Ensure that bank bits are correct. am I missing something? any pointers appreciated.. TIA ----- Original Message ----- From: "James Paul" To: Sent: 27 July 2001 19:04 Subject: Re: [PIC]: Option reg > zantos, > > It's just telling you that you shouldn't use the 'OPTION' > instruction since on all modern PIC's, the option register > is directly addressable. You're not going to harm anything > by using the option instruction, but future PIC's may not support > it. So by getting used to not using it now, you'll be covered in > the future. > > Regards, > > Jim > > > > On Fri, 27 July 2001, zantos wrote: > > > > > RE: PIC16F84A > > Can someone advise me why I get > > > > "Warning[224] A:\TEST.ASM 77 : Use of this instruction is not recommended." > > > > when I do this > > movlw b'00000000' > > option > > > > What should I be using? > > > > TIA > > > > -- > > http://www.piclist.com hint: The list server can filter out subtopics > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > jim@jpes.com > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics