public void writeCounterAndContext(Address counter, RegisterValue context) {
		// Not overrideCounter/Context. Things can override those.
		writeCounter(counter);
		if (context != null) {
			writeContext(context);
		}
	}
Write the given counter and context to the emulator and its machine state

@param counter the counter
@param context the context
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/jit/JitPcodeThread.java