private static long getUnsignedWordOffset(long byteOffset, int wordSize) {
		switch (wordSize) {
			case 1:
				return byteOffset;
			case 2:
				return byteOffset >>> 1;
			case 4:
				return byteOffset >>> 2;
			case 8:
				return byteOffset >>> 3;
		}
		return MathUtilities.unsignedDivide(byteOffset, wordSize);
	}
Constructs a new address space with the given name, bit size, type and unique value.
@param size the number of bits required to represent the largest address 
the space.
@param unitSize number of bytes contained at each addressable location (i.e., word-size in bytes)
@param type the type of the space
@param unique the unique id for this space.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AbstractAddressSpace.java