@Test
	public void testShrd_x86() throws Exception {
		x86();
		Collection<AssemblyParseResult> parses = asmX86.parseLine("SHRD EAX,EBX,0x7");
		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));
		}

		assertEquals(1, allValidEncodings.size());

		var expectedEncodings = List.of("0f:ac:d8:07");
		for (String expected : expectedEncodings) {
			assertTrue("Expected to have " + expected + " as an encoding",
				allValidEncodings.contains(expected));
		}
	}
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