Disassembly Window Types

MPLAB® X IDE has two disassembly windows:

  • Disassembly Listing File: Window > Debugging > Output > Disassembly Listing File Project
  • Disassembly Debugging View: Window > Debugging > Disassembly

Disassembly Listing File

The disassembly listing file is generated by the linker at build time. It lists the entire program (all files and functions) in a single file. Each line of C code is followed by one or more assembly instructions associated with that line of code. This file is available immediately after the project is built.


A quick way to view the entire disassembly file is to right-click in the Disassembly window and select Disassembly Listing File.

Disassembly Window

The debugging disassembly window is dynamically updated to show the disassembly for the C function that is currently executing in the debugger. Each time you call to or return from a function, this window will change its contents automatically. When this window is open, you can single-step through your code instruction by instruction. Close this window to again step at the C source level.


The Disassembly window will disassemble each instruction but has no history of banking associated with the instruction. Therefore, SFR names displayed in the window will be for Bank 0.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.