added a generic function pointer to an opcode