Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   How to parse assembly program into a data structure (http://www.go4expert.com/forums/parse-assembly-program-data-structure-t8565/)

rashd 31Jan2008 12:20

How to parse assembly program into a data structure
 
I have been assigned the task of finding an application for saving assembly language instructions into any data structure.

Assembly language --->S/w application ---> Data structure
program (eg.compiler,parser) (eg.array)

(any assembly
generated from any
real program like
c, c++ or an .asm
file)

I was thinking of saving the parse tree into an array.
The leads i have are to begin looking at x86 parsers or MIPS 64 parser.
The whole point is that the certain assembly statements
(eg jump instructions) in the data structure will then be used for some transformation but they need
to be accessed from an array. Any other suggestions or ideas ?


All times are GMT +5.5. The time now is 12:11.