需要 PIC 反汇编程序
我想反汇编PIC16F877A的hex文件。有没有好的反汇编器?反汇编后可以再次编译吗?我必须照顾哪些事情?
I want to disassemble a hex file of PIC16F877A. Is there any good disassembler ? After disassembly is it possible to compile again ? What are the things I have to take care of ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以在 MPLAB 中获得反汇编列表。选择正确的设备,导入hex文件,查看程序内存。应该可以编辑和重新组装。然而,这是PIC汇编语言,你提到了编译,所以你是否考虑尝试从十六进制恢复C代码?如果是这样,那就难多了。
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.
自己编写非常简单。如果您愿意,您可以重新组装输出。
Writing your own is fairly simple. and you can make the output re-assembleable if you like.
只需使用 IDA Pro:http://www.hex-rays.com/idapro/
它可以分解一切,并且是有史以来最好的工具。
Just use IDA Pro: http://www.hex-rays.com/idapro/
It disassemble everything and it the best tool ever for it.