public DBTraceReference addRegisterReference(long creationSnap, Address from, String to) {
		return trace.getReferenceManager()
				.addRegisterReference(Lifespan.nowOn(creationSnap), from, language.getRegister(to),
					RefType.DATA, SourceType.DEFAULT, -1);
	}
Add a register reference

<p>
See
{@link TraceReferenceManager#addRegisterReference(Lifespan, Address, Register, RefType, SourceType, int)}
regarding potential confusion of the word "register" in this context.

@param creationSnap the starting snap
@param from the from register
@param to the to address
@return the reference
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java