private void debugPatternMatch(SleighDebugLogger debug, ParserWalker walker, boolean match) {
		if (debug == null) {
			return;
		}
		debug.append("context pattern: ");
		if (alwaysTrue()) {
			debug.append("always-Matched\n");
		}
		else if (alwaysFalse()) {
			debug.append("always-Failed\n");
		}
		else {

			debug.addContextPattern(maskvalue);

			if (debug.isVerboseEnabled()) {
				debug.append("mask=");
				debug.append(maskvalue.maskvec, -1, 0);
				debug.append("\n");
				int startbit = maskvalue.offset * 8;
				int endbit = startbit + 31 + (32 * (maskvalue.maskvec.length - 1));
				String leader = "context(" + startbit + ".." + endbit + ")=";
				debug.append(StringUtilities.pad(leader, ' ', 22));
				for (int i = 0; i < maskvalue.maskvec.length; i++) {
					if (i != 0) {
						debug.append(".");
					}
					debug.append(
						walker.getParserContext().getContextBytes(maskvalue.offset + (i * 4), 4),
						-1, 0);
				}
				debug.append("\n");
				debug.append("          match-value=");
				debug.append(maskvalue.valvec, -1, 0);
				debug.append(" " + (match ? "Matched" : "Failed") + "\n");

				debug.dumpContextPattern(maskvalue.maskvec, maskvalue.valvec, maskvalue.offset,
					walker.getParserContext());
			}
		}
	}
Pattern which depends only on the non-instruction stream bits
of the context
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/pattern/ContextPattern.java