@Override
	public int calcHash(int startHash, Instruction inst) throws MemoryAccessException {
		String mnemonic = inst.getMnemonicString();
		for(int i=0;i<mnemonic.length();++i)
			startHash = SimpleCRC32.hashOneByte(startHash, mnemonic.charAt(i));
		return startHash;
	}
Hash function hashing only the mnemonic of an individual Instruction
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/correlate/MnemonicHashCalculator.java