Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to transfer the HEX file to ASM

Status
Not open for further replies.

mydiy

Newbie level 6
Joined
Feb 19, 2005
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,358
Hi all!

I have PIC's HEX file , How to transfer it to asm ?


Thanks


MYDIY
 

In MPLAB IDE click File... Import... and import the hex file.
Then click View... Program memory. That will show you the disassembled program.

Right click on the column headers and uncheck the ones you do not need. Typically you will only need the Disassembly column and the Address column.

You can then right click on an instruction and export the file as text. Then you can open it, then save it as .asm. But you have to find the destination of the goto instructions and create labels manually.

I hope this helps.
 

Hello

You can use PIC simulator IDE, IC-Prog, WinPICProg. They have built in diassembler.

Just load the HEX file, and you can see the ASM code.

Have a nice day
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top