• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Decompiling raw binary files to C code for the Motorola 68000 processor series

Vishu Mahajan

Junior Member
I have the ROM dump (.bin files) targeted for the MC68008 processor. Need to convert them into a high level source code. I have already found tools for disassmbling them into assembly code. The next step is converting them to C code. But I could not find any tool that works. I have already tried the following decompilers with no success: RecStudio, Boomerang, Decompiler 0.2.4, IDA Pro with Hex-Rays.
 
First, have you checked the license for the software you're using? At least 90% of the ones that aren't open-source say you're not allowed to decompile, disassemble, or reverse-engineer them. 🙁

Second, are you sure it was ever C code? And anyway you can't expect a decompiler or disassembler to make the code easy to read. What you probably need is a good refactoring editor to name variables as you think you understand their purpose.
 
Hi Ken,

The open source tools I'm currently using have no such restrictions. All one needs to be sure about is that they have a legal right to the code they are trying to decompile which I do.

I do not know if the binaries represent C code. Could you suggest a way to check this? In fact it is fine by me if the code isn't completely readable. I just need to check a couple of function names and get a very basic idea of the structure.
 
Back
Top