예제 #1
0
        public void Apply(IRegister <IByte> inputRegister, IRegister <IByte> outputRegister)
        {
            inputRegister.Apply();
            var secondRegisterInput = GetShifter(inputRegister);

            outputRegister.Input = _byteFactory.Create(secondRegisterInput);
            outputRegister.Apply();
        }
예제 #2
0
 /// <summary>
 /// Call Apply() of the associated register.  This conditionally writes the register's
 /// value (if dirty) to hardware.
 /// </summary>
 /// <param name="forceApply"></param>
 public override void Apply(bool forceApply)
 {
     mRegister.Apply(forceApply);
 }