Hi, Malc

I do not know wich pic you really use ... but if it is the same as in your Listing ( 16F767)

you should have a look to Post #8899 from Bruce ... ( Jul 2003 )

Alain