Try adding a couple of Dummy statements AFTER the @ SLEEP in your PICBASIC example and see what happens...

@ SLEEP
@ NOP
@ NOP