This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HeX to C....

Can we convert HEX code to C code? Is there any tools avaliable?

with thanks,
Karthik

Parents
  • "Trying to go from machine code to C just to read the logic is on the other hand futile. Even the original developer will fail to read the recreated code."

    Please be patient.

    I'm working on it.

    So far, I have managed to read the hex file into memory and determined how big the original file was. (I know, sounds quite tough, but I'm a professional.)

    Not much more now.

    Still on target to have it finished by tomorrow morning.

Reply
  • "Trying to go from machine code to C just to read the logic is on the other hand futile. Even the original developer will fail to read the recreated code."

    Please be patient.

    I'm working on it.

    So far, I have managed to read the hex file into memory and determined how big the original file was. (I know, sounds quite tough, but I'm a professional.)

    Not much more now.

    Still on target to have it finished by tomorrow morning.

Children
  • Ok, this is a little more tricky than the OP might have though.

    But I can now read in a hex file and produce an output of:

    int main(int argc, char *argv[])
    {
      return(0);
    }
    

    I've done the complicated part, but I'll have to bow out due to me having too many other commitments.

    Anyone want to take the project over?