public AddrSpace getSpaceBySpacebase(Address loc, int size) { // Get space associated with spacebase register
		AddrSpace id;
		for (AddrSpace element : baselist) {
			id = element;
			int numspace = numSpacebase(id);
			for (int j = 0; j < numspace; ++j) {
				VarnodeData point = getSpacebase(id, j);
				if (point.size == size && point.space == loc.getSpace() &&
					point.offset == loc.getOffset()) {
					return id;
				}
			}
		}
		throw new LowlevelError("Unable to find entry for spacebase register");
	}
Retrieve a particular spacebase register associated with the virtual address space
basespace.  This register serves as a base offset to anchor basespace within
its containing space.
@param basespace is the virtual space to find a spacebase register for
@param i is the index of the particular spacebase register
@return a reference to the spacebase register
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcodeCPort/translate/Translate.java