Page 1 of 1

Need a PIC Decompiler for PIC 12F1822

PostPosted: Tue Apr 23, 2019 5:31 pm
by stevie72
Hello Friends,

I need a Decompiler to get the Source Code back from a HEX File (3Kb)
Is there a way to Decompile /Disassemle the hex file?

Any Suggestions ?

Greethings, Stefan

Re: Need a PIC Decompiler for PIC 12F1822

PostPosted: Tue Apr 23, 2019 9:12 pm
by KTrenholm
Retrieving the code written to compile/assembly the hex file I think is an impossibility with only the binary hex file to go on.

However you CAN import the hex file into MPLAB X and see the code in the program memory:
Program Memory.JPG
Program Memory.JPG (66.41 KiB) Viewed 2638 times


To do this, in MPLAB X, File > Import > Hex/ELF (Prebuilt File)
This will import the hex file into a new project. From there, Window > Target Memory Views > Program Memory