private void handleStatusModification(Instruction instr) {
		paContext.writeValue(instr.getMaxAddress());
		String mnemonic = instr.getMnemonicString();
		if ("CLRF".equals(mnemonic)) {
			paContext.setValueAt(instr, 0, false);
		}
		else if ("BSF".equals(mnemonic)) {
			Scalar s = instr.getScalar(1);
			boolean success = false;
			if (s != null) {
				int bit = (int) s.getUnsignedValue();
				if (bit == 5 || bit == 6) {
					success = paContext.setBitAt(instr, bit - 5);
				}
				else {
					success = true; // ignore untracked portions of status reg
				}
			}
			if (!success) {
				Msg.warn(this, "Unhandled STATUS bit-set at: " + instr.getMinAddress());
			}
		}
		else if ("BCF".equals(mnemonic)) {
			Scalar s = instr.getScalar(1);
			boolean success = false;
			if (s != null) {
				int bit = (int) s.getUnsignedValue();
				if (bit == 5 || bit == 6) {
					success = paContext.clearBitAt(instr, bit - 5);
				}
				else {
					success = true; // ignore untracked portions of status reg
				}
			}
			if (!success) {
				Msg.warn(this, "Unhandled STATUS bit-set at: " + instr.getMinAddress());
			}
		}
		else if ("MOVWF".equals(mnemonic)) {
			if (wContext.hasValue()) {
				paContext.setValueAt(instr, wContext.longValue() >> 5, false);
			}
			else {
				paContext.setValueUnknown();
				Msg.warn(this, "Unhandled STATUS change at: " + instr.getMinAddress());
			}
		}
		else if (REG_MODIFICATION_MNEMONICS.contains(mnemonic)) {
			if (instr.getNumOperands() == 2) {
				List<?> repObjs = instr.getDefaultOperandRepresentationList(1);
				if (repObjs.size() == 1 && DEST_FREG.equals(repObjs.get(0))) {
					// Unhandled status modification
					paContext.setValueUnknown();
					Msg.warn(this, "Unhandled STATUS change at: " + instr.getMinAddress());
				}
			}
			else if (instr.getNumOperands() == 1) {
				// Unhandled status modification
				paContext.setValueUnknown();
				Msg.warn(this, "Unhandled STATUS change at: " + instr.getMinAddress());
			}
		}
	}
Attempt to markup FReg access instruction with register reference.

@param instr
@return register name if identified, else null
Ghidra/Processors/PIC/src/main/java/ghidra/app/plugin/core/analysis/Pic12Analyzer.java