public void addRange(Address startAddr, Address endAddr) {

		long start = addrMap.getKey(startAddr, true);
		long end = addrMap.getKey(endAddr, true);
		if ((start & AddressMapDB.BASE_MASK) == (end & AddressMapDB.BASE_MASK) && start <= end) {
			addRange(start, end);
			return;
		}

		List<KeyRange> ranges = addrMap.getKeyRanges(startAddr, endAddr, true);
		Iterator<KeyRange> it = ranges.iterator();
		while (it.hasNext()) {
			KeyRange kr = it.next();
			addRange(kr.minKey, kr.maxKey);
		}
	}
Adds the address range to this set.
@param startAddr the first address in the range to add.
@param endAddr the last address in the range to add.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/map/NormalizedAddressSet.java