@Override
	public void clearRegister(Register register) {
		Register baseRegister = register.getBaseRegister();
		byte[] currentBytes = values.remove(baseRegister);
		if (currentBytes != null) {
			RegisterValue currentValue = new RegisterValue(baseRegister, currentBytes);
			currentValue = currentValue.clearBitValues(register.getBaseMask());
			if (currentValue.hasAnyValue()) {
				values.put(baseRegister, currentValue.toBytes());
			}
		}
	}
An implementation of processor context which contains the state of all
processor registers.
<br>
Note that the ContextChangeException will never be thrown by this implementation
of Processor
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/ProcessorContextImpl.java