@Test
	public void testCallWildcard_x86() throws Exception {
		x86();
		Collection<AssemblyParseResult> parses =
			asmX86.parseLine("CALL `Q1[0x00400000..0x00400003]`");
		AssemblyParseResult[] allResults = parses.stream()
				.filter(p -> !p.isError())
				.toArray(AssemblyParseResult[]::new);

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

		assertEquals(Set.of(
			"e8:fb:ff:3f:00", "e8:fc:ff:3f:00", "e8:fd:ff:3f:00", "e8:fe:ff:3f:00",
			"67:e8:fa:ff:3f:00", "67:e8:fb:ff:3f:00", "67:e8:fc:ff:3f:00", "67:e8:fd:ff:3f:00"),
			Set.copyOf(allValidEncodings));

		WildAssemblyResolvedPatterns call0x00400000 = Unique.assertOne(allValidResults.stream()
				.filter(r -> r.getInstruction()
						.equals(AssemblyPatternBlock.fromString("e8:fb:ff:3f:00"))));
		WildOperandInfo targetInfo = Unique.assertOne(call0x00400000.getOperandInfo());
		assertEquals("Q1", targetInfo.wildcard());
		assertEquals(AssemblyPatternBlock.fromString("SS:FF:FF:FF:FF"), targetInfo.location());
		assertEquals(0x00400000L, targetInfo.choice());
	}
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