opcode check should be done for -1