default T getVar(Register reg, Reason reason) {
		Address address = reg.getAddress();
		return getVar(address.getAddressSpace(), address.getOffset(), reg.getMinimumByteSize(),
			true, reason);
	}
Get the value of a register variable

@param reg the register
@param reason the reason for reading the register
@return the value
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeExecutorStatePiece.java