Pic18 series microcontroller C language program routine