How do I get the result of an instruction?

ok. I think I get it now. I need to create the instructions as you have given. For eg: I could pass Instruction*(for storing the result of this instruction) while creating the store instruction. This is what you meant rite??

Thanks,
Bhavani

I think so. The Instrruction* is the value in this context.

-Eli