Basic implementation of opcode function table