I have never ever had reason to use sleep directive, I know it is supposed to wake on interrupt. Pause 1 is 1 millisecond not 45 seconds as you comment indicates the sleep directive is asking for, are you sure or your intcon and option_reg settings? They affect interrupts. I am not in the shop right now, and do not have books handy, will look further later.