We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!
Item Qty
Your cart is empty.

MPLAB® XC8 Compiler

The MPLAB® XC8 Compiler is a powerful, optimizing compiler that converts your ISO C code into high-assembly-language instructions to use on our 8-bit PIC® and AVR® microcontrollers. This compiler offers many command-line options and language extensions that enable full access to the device's hardware features and peripherals and allow you to fine-tune the generated code for your application. 

Whether you are working with a low-cost baseline PIC device or a high-performance PIC-18 or AVR device, the MPLAB XC8 Compiler will help you create a product that will meet your design goals.

Licenses


The following MPLAB XC Unified Compiler Licenses are available and compatible with any MPLAB XC Compiler:

MPLAB® XC8 C Compiler v3.00 Released


Version 3.00 of the MPLAB® XC8 C Compiler for PIC® and AVR® MCUs is a major release of XC8 that improves the efficiency and reliability of your projects.

This release of the compiler includes:

  • Software Vectored Interrupts for PIC devices that do not support hardware Vectored Interrupts
  • Compact Vector Table for AVR devices that support the feature
  • Improved direct C access to PIC18 PFM regions
  • Addition of a Language Server Protocol server

MPLAB XC8 Compiler Downloads


Title
Version Number
Date
MPLAB XC8 C-Compiler (Windows)
3a4ff248... f86f
3.00 18 Dec 2024 Download
MPLAB XC8 C-Compiler (macOS)
2289bfff... 0bc9
3.00 18 Dec 2024 Download
MPLAB XC8 C-Compiler (Linux)
20b09347... 9fa5
3.00 18 Dec 2024 Download
MPLAB XC8 C-Compiler Source 18 Dec 2024 Download

MPLAB XC8 C Functional Safety Compiler v2.49 Released


Version 2.49 of the MPLAB XC8 C Functional Safety Compiler for PIC® and AVR® MCUs is a TÜV SÜD-certified functional safety compiler package that supports all our PIC and AVR devices to make your tool qualification effort easier. The package includes all the documentation and reports for a fully qualified development environment for ISO 26262 for any ASIL, IEC 61508 for any SIL, IEC 62304 and IEC 60730-1 functional safety standards. With this latest release, the functional safety compiler package includes all the documentation and reports for a fully qualified development environment for EN 50128

As a functional safety compiler, this compiler requires a functional safety license to operate. Once activated, all optimization levels and compiler features are available. For more information, see the functional safety manual that is provided in the documentation package when you purchase a functional safety license.

MPLAB XC8 Functional Safety Downloads


Title
Version Number
Date
MPLAB XC8 FuSa Compiler (Windows)
b32cafc9... abed
2.49 21 Jun 2024 Download
MPLAB XC8 FuSa Compiler (OSX)
9caf6d9b... 6c71
2.49 21 Jun 2024 Download
MPLAB XC8 FuSa Compiler (Linux)
21402fcc... 2c64
2.49 21 Jun 2024 Download
MPLAB XC8 FuSa ReadMe for PIC 2.49 21 Jun 2024 Download
MPLAB XC8 FuSa ReadMe for AVR 2.49 21 Jun 2024 Download