cmikroc

HOW can i convert compiled program (hex) to code line?


I have only a compiled binary code (.hex) of pic microcontroller,how can i convert it to code line in mikroc in order to see the instruction of program?


Solution

  • When it's compiled, it is machine code and there's no (automatic) way of translating machine code to C. You can get a readable version of the code, assembly, using a disassembler for your target CPU. This of course requires you learning your CPU's assembly language.