public void assignAddressFromPieces(ArrayList<Varnode> pieces, boolean mostToLeast,
			boolean onePieceJoin, Language language) {
		if (!mostToLeast && pieces.size() > 1) {
			ArrayList<Varnode> reverse = new ArrayList<Varnode>();
			for (int i = pieces.size() - 1; i >= 0; --i) {
				reverse.add(pieces.get(i));
			}
			pieces = reverse;
		}
		pieces = mergeSequence(pieces, language);
		if (pieces.size() == 1 && !onePieceJoin) {
			address = pieces.get(0).getAddress();
			return;
		}
		joinPieces = new Varnode[pieces.size()];
		pieces.toArray(joinPieces);
		address = Address.NO_ADDRESS;		// Placeholder for join space address
	}
Generate a parameter address given the list of Varnodes making up the parameter.
@param pieces is the given list of Varnodes
@param mostToLeast is true if the list is ordered most significant to least
@param onePieceJoin is true if the address should be considered a join of one piece
@param language is the Language associated with the calling convention
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/ParameterPieces.java