private boolean markupAddressAsRegister(Instruction instr, Reference primaryRef,
			List<Object> representationList, int addressIndex) {
		if (primaryRef != null) {
			return false;
		}
		// NOTE: although preferrable, access type/size is not considered
		Address addr = (Address) representationList.get(addressIndex);
		Register reg = instr.getProgram().getRegister(addr);
		if (reg != null) {
			representationList.set(addressIndex, reg.getName());
			return true;
		}
		return false;
	}
Attempt to markup any or all Scalars contained within the
representationList.

@param inst instruction
@param opIndex operand index
@param function function containing instruction
@param primaryRef primary reference
@param referencedVariable optional variable associated with reference
@param regIndexMap register index map
@param representations
@return true if primaryRef was included in scalar mark-up
Ghidra/Features/Base/src/main/java/ghidra/program/model/listing/CodeUnitFormat.java