@Override
	public final void setValue(String nm, long cval) {
		// Set a "register" value
		setValue(language.getRegister(nm), cval);
	}
This is a convenience method for setting registers by name. Any register name known to the
language can be used as a write location. The associated address space, offset, and size is
looked up and automatically passed to the main setValue routine.

@param nm is the name of the register
@param cval is the value to write to the register
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/memstate/AbstractMemoryState.java