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

    Joined:
    Jan 31, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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 ?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice