Adding opcode handling.

Opcode interface is a major part of the TTA code for semantic runs.