default T fromConst(BigInteger value, int size, boolean isContextreg) {
		return fromConst(
			Utils.bigIntegerToBytes(value, size, isContextreg || getEndian().isBigEndian()));
	}
Convert the given constant concrete value to type {@code T} having the given size.

<p>
Note that the size may not be applicable to {@code T}. It is given to ensure the value can be
held in a variable of that size when passed to downstream operators or stored in the executor
state.

@param value the constant value
@param size the size (in bytes) of the variable into which the value is to be stored
@param isContextreg true to indicate the value is from the disassembly context register. If
           {@code T} represents bytes, and the value is the contextreg, then the bytes are in
           big endian, no matter the machine language's endianness.
@return the value as a {@code T}
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeArithmetic.java