Decoding binery file

beenthere

Joined Apr 20, 2004
15,819
It can be done by hand, although it's pretty tedious. A disassembler can also help, but it has to be program code. Both methods look for valid opcodes, and proceed on that basis. Operands and DFB's can be difficult, but working with the instruction set makes it just barely possible.
 

russ_hensel

Joined Jan 11, 2009
825
Above assumes that the file is a Hex file, there are millions of different types of binary files in general. In another sense all files are binary.

That said I think you want to dis-assemble the file there are programs out there to do it.
Google is your friend. Making sense of the file when disassembled can be very difficult.

I do not know what you want to do, but writing the program from scratch may be the easy way to proceede.
 
Top