Working backwards in Flowcode

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
steve22
Posts: 7
Joined: Sun Feb 08, 2009 2:23 pm
Contact:

Working backwards in Flowcode

Post by steve22 »

Is it possible to take a HEX file for a listed Micro in Flowcode and work backwards with the Hex file. Will if loaded be converted into a flowchart for editing or is it the case of if it has to be built from flow chart. What I am thinking is I have a number of files I would like to see what hapens if this can be done, I have both the hex and the ASM file. If you can edit it how do you load the hex file into flowcode.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Working backwards in Flowcode

Post by Benj »

Hello Steve
All C compilers convert the code via assembly language.
The stage may not be externally viewable, but it's there
anyway. This is the compilation process. It loses very
much information of the original C code, and all the
information cannot be automatically restored.

The process of converting from machine code (hex, binary,
or whatever format) to assembly language is much simpler,
and it can be for the most part performed automatically.
This process is usually called dis-assembly. Even here
much of the information in the original code is missing
and has to be manually re-created.

The specific syntax and semantics of assembly language
helps very little in the whole picture of re-creating
the lost information needed to reconstruct the C source.
Taken from a Google Search.
http://www.embeddedrelated.com/usenet/e ... 7425-1.php

Post Reply