public static void markUnimplementedPcode(Program program, AddressSetView addressSet,
			TaskMonitor monitor) throws CancelledException {
		Listing listing = program.getListing();
		InstructionIterator instructions = (addressSet == null) ? listing.getInstructions(true)
				: listing.getInstructions(addressSet, true);
		while (instructions.hasNext()) {
			Instruction instr = instructions.next();
			PcodeOp[] pcode = instr.getPcode();
			if (pcode != null && pcode.length == 1 &&
				pcode[0].getOpcode() == PcodeOp.UNIMPLEMENTED) {
				markUnimplementedPcode(instr);
			}
		}
	}
Mark all instructions with unimplemented pcode over the specified address set
@param program to mark unimplemented in
@param addressSet restricted address set or null for entire program
@param monitor allow canceling
@throws CancelledException if monitor canceled
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/disassemble/Disassembler.java