public boolean isInstructionMatch(ParserWalker walker) {
		if (nonzerosize <= 0) {
			return (nonzerosize == 0);
		}
		int off = offset;
		try {
			for (int i = 0; i < maskvec.length; ++i) {
				int data = walker.getInstructionBytes(off, 4);
				if ((maskvec[i] & data) != valvec[i]) {
					return false;
				}
				off += 4;
			}
			return true;
		}
		catch (MemoryAccessException e) {
			return false;
		}
	}
A mask/value pair viewed as two bitstreams
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/pattern/PatternBlock.java