Cast OP_NEXTSTATE as a COP