Exemple #1
0
 internal virtual StackData BitArrayBinaryOp(string opToken, Size size, StackData right)
 {
     var leftData = GetBitsConst();
     var rightData = right.GetBitsConst();
     var resultData = leftData.BitArrayBinaryOp(opToken, size, rightData);
     return new BitsStackData(resultData, OutStream);
 }
Exemple #2
0
        internal override StackData BitArrayBinaryOp(string opToken, Size size, StackData right)
        {
            if(size == DataStack.RefSize && opToken == "Plus")
                return RefPlus(Size.Create(right.GetBitsConst().ToInt32()));


            NotImplementedMethod(opToken, size, right);
            return null;
        }