We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I have an old library file and lost the source code. Is it possible to disassemble it to get the source ? It was built with a Keil compiler, though possibly an older version.
It is generic 8051 code. I know I couldn't get the original C code back, but would be happy with assembler.
Thanks
if you know enough to include it in a (dummy) program, load the code and dump the memory. you then have a .hex where many disassemblers are available
I had thought of that. The problem I'd face though is not knowing anything about the resulting hex - where code began - what were strings, what was code, etc.
So, I was hoping there would be something in the Keil tool chain that would know that.
If you're a Total Commander user you might like to try:
totalcmd.net/.../LibView.html
I used it in the past and managed to see the detail I wanted.