Sorry, it was other code for the 12f629 I was thinking of - this code was written for my test PIC, 16f84a.