> Thanks for your help Brent, > that is all much clearer now! You must have a different datasheet from > me because my 16F84 datasheet doesn't have anything like that on page > 9.... I managed to get it from your explaination fine tho, thanks ;-) Great stuff James. Some of the best PIC code is written around midnight! I was using the PIC16F84A data sheet DS35007A, and that page describes the bits in the OPTION register. Keep up the good work. Brent Brown Electronic Design Solutions 16 English Street Hamilton, New Zealand Ph/fax: +64 7 849 0069 Mobile/text: 025 334 069 eMail: brent.brown@clear.net.nz -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.