private void UpdateAluStep4()
        {
            // setup
            var step4AndIr0 = _and.Apply(Step4, _instruction[0]);

            // enables
            PinStates.RegB.Enable = NewPinState(PinStates.RegB.Enable, step4AndIr0);

            // sets
            PinStates.Tmp.Set    = NewPinState(PinStates.Tmp.Set, ClkSAnd(step4AndIr0));
            PinStates.CarryInTmp = NewPinState(PinStates.CarryInTmp, ClkSAnd(step4AndIr0));
        }
Esempio n. 2
0
 public bool Apply(params bool[] bits)
 {
     return(_not.Apply(_and.Apply(bits)));
 }