1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to parse assembly program into a data structure

Discussion in 'Assembly Language Programming (ALP) Forum' started by rashd, Jan 31, 2008.

  1. rashd

    rashd New Member

    Jan 31, 2008
    Likes Received:
    Trophy Points:
    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

    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 ?

Share This Page