@Test
	public void testEmuInjectionCallEmuSwi() throws Exception {
		Translation tr = translateLang(ID_TOYBE64, 0x00400000, """
				imm r0,#123
				add r0,#7
				""",
			Map.ofEntries(
				Map.entry(0x00400002L, "emu_swi();")));

		tr.runErr(InterruptPcodeExecutionException.class, "Execution hit breakpoint");

		/**
		 * Two reasons we don't reach the add: 1) It's overridden, and there's no deferral to the
		 * decoded instruction. 2) Even if there were, we got interrupted before it executed.
		 */
		assertEquals(123, tr.getLongRegVal("r0"));
	}
This is more diagnostics, but at the least, I should document that it doesn't work as
expected, or perhaps just turn it completely off.
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/pcode/emu/jit/gen/JitCodeGeneratorTest.java