private boolean markupScalarWithMemoryReference(Instruction instr, Scalar scalarToReplace,
			int scalarIndex, Reference primaryRef, List<Object> representationList) {
		if (primaryRef != null && primaryRef.isMemoryReference()) {
			// Apply memory reference to first scalar without a register association
			Object repObj = addScalarAdjustment(getMemoryReferenceLabel(instr, primaryRef),
				primaryRef.getToAddress(), scalarToReplace, representationList.size() == 1);
			if (repObj != null) {
				representationList.set(scalarIndex, repObj);
				return true;
			}
		}
		return false;
	}
@param instr
@param scalarToReplace
@param scalarIndex index of scalarToReplace within representationList
@param primaryRef primary reference
@param representationList
@return true if primaryRef was included in scalar mark-up
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java