Added simple opcode translation. May be changed later.