2 Introduction

This guide shows and describes example assembly programs that can be built with the MPLAB® XC8 PIC Assembler (PIC Assembler) for Baseline, Mid-range, and PIC18 device families.

The examples shown in this document bring together various programming concepts, assembler directives and operators, as well as command-line options, which you can read about in more detail in the MPLAB® XC8 PIC Assembler User's Guide.

If you are migrating programs from the Microchip MPASM Assembler to the PIC Assembler, this guide in conjunction with the MPLAB® XC8 PIC Assembler Migration Guide will be of great assistance.