public final void removeEquate(Instruction instruction, int operandIndex, long value) {
		Address address = instruction.getMinAddress();
		Equate equate = currentProgram.getEquateTable().getEquate(address, operandIndex, value);
		equate.removeReference(address, operandIndex);
		if (equate.getReferenceCount() == 0) {
			currentProgram.getEquateTable().removeEquate(equate.getName());
		}
	}
Removes the equate defined at the operand index of the instruction with the given value.
@param instruction the instruction
@param operandIndex the operand index
@param value scalar value corresponding to equate
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java