How do I view Assembly my C code in MPLAB x

Sid Muthal picture Sid Muthal · Jul 23, 2014 · Viewed 11k times · Source

I have code written in C but I need to see the Assembly file so I can optimize the code and figure out how long certain functions will take. Does anyone know of a quick way to pull up the Assembly code?

Answer

Rocky picture Rocky · Oct 31, 2014

I also had the same problem as you. Here is what worked for me.

Debug the main program, when finished, choose

" Window >> Debugging >> Disassembly ".

Then you would see the corresponding assembly code.

Hope it could help you out.