PIC disassembler Needed
I want to disassemble a hex file of PIC16F877A. Is there any good disassembler ? After disassembly is it possible to compile a开发者_StackOverflowgain ? What are the things I have to take care of ?
Writing your own is fairly simple. and you can make the output re-assembleable if you like.
You can get a disassembly listing in MPLAB. Select the right device, import the hex file, View Program Memory. It should be possible to edit and reassemble. However, this is in PIC assembly language, you mentioned compile, so are you thinking of trying to get C code back from hex? If so, that's much harder.
Just use IDA Pro: http://www.hex-rays.com/idapro/ It disassemble everything and it the best tool ever for it.
精彩评论