public RegisterValue getValue(Register register, Address address) {

		RegisterValue value = null;
		byte[] bytes = rangeMap.getValue(address);
		if (bytes != null) {
			value = new RegisterValue(register, bytes);
		}

		synchronized (this) {
			if (rangeWriteCacheValue != null && address.compareTo(rangeWriteCacheMin) >= 0 &&
				address.compareTo(rangeWriteCacheMax) <= 0) {
				value = value != null ? value.combineValues(rangeWriteCacheValue)
						: rangeWriteCacheValue;
				return value.getRegisterValue(register);
			}
		}
		return value;
	}
Returns the RegisterValue (value and mask) associated with the given address. 
@param register register (base or child) for which context value should be returned
@param address the address at which to get the RegisterValue.
@return the RegisterValue
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RegisterValueStore.java