Assembly and C code for the PIC18F4321 Microcontroller