示例#1
0
        void emulate_Shr_Un(Instruction instr)
        {
            var val2 = valueStack.pop();
            var val1 = valueStack.pop();

            if (val1.isInt32() && val2.isInt32())
            {
                valueStack.push(Int32Value.Shr_Un((Int32Value)val1, (Int32Value)val2));
            }
            else if (val1.isInt64() && val2.isInt32())
            {
                valueStack.push(Int64Value.Shr_Un((Int64Value)val1, (Int32Value)val2));
            }
            else
            {
                valueStack.pushUnknown();
            }
        }