default int setValue(long snap, RegisterValue value) {
		return setValue(getTrace().getPlatformManager().getHostPlatform(), snap, value);
	}
Set the value of a register at the given snap

<p>
If the register is memory mapped, this will delegate to the appropriate space. In those
cases, the assignment affects all threads.

<p>
<b>IMPORTANT:</b> The trace database cannot track the state ({@link TraceMemoryState#KNOWN},
etc.) with per-bit accuracy. It only has byte precision. If the given value specifies, e.g.,
only a single bit, then the entire byte will become marked {@link TraceMemoryState#KNOWN},
even though the remaining 7 bits could technically be unknown.

@param snap the snap
@param value the register value
@return the number of bytes written
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/memory/TraceMemoryOperations.java