@Override
	public final long getValue(Register reg) {
		Address addr = reg.getAddress();
		return getValue(addr.getAddressSpace(), addr.getOffset(), reg.getMinimumByteSize());
	}
A convenience method for reading a value directly from a register rather than querying for
the offset and space

@param reg the register location to be read
@return the value read from the register location
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/memstate/AbstractMemoryState.java