The dspic-utility.h header file defines a number of macros for emitting special instructions, like CLRWDT to clear the watchdog timer.
To use these macros, you can use the -I compiler option to add the dsPIC Helper Library source directory to the compiler command line, and then include the header file like so:
#include <dspic-utility.h>
Emits the NOP instruction; i.e., the “no operation” instruction.
Emits the RESET instruction to force a software reset of the microcontroller.
Emits the CLRWDT instruction to clear the watchdog timer.