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

Vishu Mahajan

Junior Member
May 22, 2013
3
0
0
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.
 
 

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
Vishu, welcome to the forums! You may get better replies by moving your question to the Programming forum.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,610
4,530
75
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.
 

Vishu Mahajan

Junior Member
May 22, 2013
3
0
0
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.