Detailed reference for the SLEEP instruction in PIC18 ISA.
Enter the processor’s Standby (sleep) mode, halting all operation until a reset occurs.
; Enter sleep mode
SLEEP ; processor halts until reset; Enter sleep mode
SLEEP ; processor halts until reset