Added min opcode number check.
Added check to make sure the opcode function has been implemented.