CCK,

Are you sure it's not a 16F877A

If it is, you'll also need   CMCON = 7
<br>