Exemple #1
0
        public override void Execute(CPU cpu)
        {
            object value1 = cpu.PopStack();
            object value2 = cpu.PopStack();

            cpu.PushStack(value1);
            cpu.PushStack(value2);
        }
Exemple #2
0
        public override void Execute(CPU cpu)
        {
            object value      = cpu.PopValue();
            string identifier = (string)cpu.PopStack();

            cpu.SetValue(identifier, value);
        }