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 ?