@Test
	public void testCallDx_x8664() throws Exception {
		x8664();
		Collection<AssemblyParseResult> parses = asmX8664.parseLine("CALL DX");
		AssemblyParseResult[] allResults = parses.stream()
				.filter(p -> !p.isError())
				.toArray(AssemblyParseResult[]::new);

		var allValidEncodings = new ArrayList<String>();
		Address addr0 = x8664.getAddressFactory().getDefaultAddressSpace().getAddress(0);
		for (AssemblyParseResult r : allResults) {
			AssemblyResolutionResults results = asmX8664.resolveTree(r, addr0);
			dumpResults(results);
			allValidEncodings.addAll(getInstructionValuesHex(results));
		}

		// This is the encoding Ghidra suggests when using the "Patch
		// Instruction" right-click menu option
		assertEquals(List.of("66:ff:d2"), 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