@Test
	public void testLea_x8664() throws Exception {
		x8664();
		Collection<AssemblyParseResult> parses = asmX8664.parseLine("LEA EAX, [ EDX + -0x6c ]");
		AssemblyParseResult[] allResults = parses.stream()
				.filter(p -> !p.isError())
				.toArray(AssemblyParseResult[]::new);

		var allValidResults = new ArrayList<AssemblyPatternBlock>();
		var allValidEncodings = new ArrayList<String>();
		Address addr0 = x8664.getAddressFactory().getDefaultAddressSpace().getAddress(0);
		for (AssemblyParseResult r : allResults) {
			AssemblyResolutionResults results = asmX8664.resolveTree(r, addr0);
			dumpResults(results);
			allValidResults.addAll(
				getValidResults(results).stream().map(x -> x.getInstruction()).toList());
			allValidEncodings.addAll(getInstructionValuesHex(results));
		}

		assertTrue(allValidResults.size() > 0);
		assertEquals(Set.of(
			"67:8d:42:94",
			"67:8d:44:22:94",
			"67:8d:44:62:94",
			"67:8d:44:a2:94",
			"67:8d:44:e2:94",
			"67:8d:82:94:ff:ff:ff",
			"67:8d:84:22:94:ff:ff:ff",
			"67:8d:84:62:94:ff:ff:ff",
			"67:8d:84:a2:94:ff:ff:ff",
			"67:8d:84:e2:94:ff:ff:ff"),
			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