@Test
	public void testMov_x86() throws Exception {
		x86();
		Collection<AssemblyParseResult> parses = asmX86.parseLine("MOV EBP,`Q1/E.P`");
		AssemblyParseResult[] allResults = parses.stream()
				.filter(p -> !p.isError())
				.toArray(AssemblyParseResult[]::new);

		var allValidEncodings = new ArrayList<String>();
		Address addr0 = x86Program.getMinAddress();
		for (AssemblyParseResult r : allResults) {
			AssemblyResolutionResults results = asmX86.resolveTree(r, addr0);
			dumpResults(results);
			// This will blow up if the numeric values for Q1 are still in the results
			allValidEncodings.addAll(getInstructionValuesHex(results));
		}

		// These are the four encodings Ghidra suggests when using the "Patch
		// Instruction" right-click menu option
		assertEquals(Set.of(
			// These two are when Q1 == "EBP"
			"89:ed", "8b:ed",
			// These two are when Q1 == "ESP"
			"89:e5", "8b:ec"),
			Set.copyOf(allValidEncodings));
	}
Tests assembling a MIPS 'lw' instruction in MIPS and MIPS16

This test is similar to {@link #testLw_mips32()} except the address we assemble at has a
non-constrained context so we get both MIPS and MIPS16 encodings.
Ghidra/Features/WildcardAssembler/src/test/java/ghidra/asm/wild/WildSleighAssemblerTest.java