Decoding binery file

Discussion in 'Embedded Systems and Microcontrollers' started by Mark2009, Feb 27, 2009.

  1. Mark2009

    Thread Starter New Member

    Feb 27, 2009
    2
    0
    IS THERE ANY METHODE TO DECODE A BINERY FILE

    PLZ HELP ME..
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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.
     
  3. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    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.
     
Loading...