Microchip Technology DM164130-9 User Manual

Page of 101
PIC® MCU Architecture
 2012 Microchip Technology Inc.
DS41628B-page 35
FIGURE 2-13:
XC8 OPERATION
Notice how the output is the same for both the compiler/assembler – a hex file. The 
assembly that the compiler generates can be seen in the disassembly window inside 
of the MPLAB
®
 IDE. 
FIGURE 2-14:
DISASSEMBLY FIGURE
 shown above shows part of the disassembly of lesson 5. The ‘C’, which is 
indented, is easier to understand and write. The assembly underneath it contains twice 
as much code, and includes the PIC MCU specific instructions to achieve the desired 
result of the ‘C’ above it.