public RegisterValue getExitContext(PcodeOp op) {
		if (op instanceof DecodedPcodeOp dec) {
			return dec.getContext();
		}
		throw new AssertionError("Couldn't figure exit context for " + op);
	}
Get the context of the instruction that generated the given p-code op.

<p>
This is necessary when exiting the passage, whether due to an exception or "normal" exit. The
emulator's context must be updated so that it can resume execution appropriately.

@param op the p-code op causing the exit
@return the contextreg value
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/jit/gen/JitCodeGenerator.java