public int getSegmentOffset() {
		return (int) ((SegmentedAddressSpace) addrSpace).getOffsetFromFlat(offset, segment);
	}
Returns the offset within the segment.
@return the offset value
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/SegmentedAddress.java