Compiler Directives

#include source files Include source code or header file

#use functions(parameters) Include library functions

#define oldtext newtext Replace label in source code with value

#device name Identify MCU type

#list, #nolist Turn on source code listing

#asm, #endasm Start/end of assembler block

#fuses options Select MCU configuration fuse settings

#int_xxx Declare function as interrupt service routine

Get Programming 8-bit PIC Microcontrollers in C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.