Exemplo n.º 1
0
        public override bool Execute(VMachine vm, Command cmd)
        {
            Value v = vm.GetRuntimePackage(cmd.DataA).Reg.Get(cmd.DataB);

            vm.DataStack.Push(v);

            return(true);
        }
Exemplo n.º 2
0
        public override bool Execute(VMachine vm, Command cmd)
        {
            var d = vm.DataStack.Pop();

            vm.GetRuntimePackage(cmd.DataA).Reg.Set(cmd.DataB, d);

            return(true);
        }