示例#1
0
        internal static void loadK(Instruction i, ref LuaVM vm)
        {
            var(a, bx) = i.ABx();
            a         += 1;

            vm.GetConst(bx);
            vm.Replace(a);
        }
示例#2
0
        internal static void loadKx(Instruction i, ref LuaVM vm)
        {
            var(a, _) = i.ABx();
            a        += 1;
            var ax = new Instruction(vm.Fetch()).Ax();

            vm.GetConst(ax);
            vm.Replace(a);
        }
示例#3
0
        internal static void loadKx(Instruction i, ref LuaVM vm)
        {
            var aBx = i.ABx();
            var a   = aBx.Item1 + 1;
            var ax  = new Instruction(vm.Fetch()).Ax();

            vm.GetConst(ax);
            vm.Replace(a);
        }
示例#4
0
        internal static void loadK(Instruction i, ref LuaVM vm)
        {
            var aBx = i.ABx();
            var a   = aBx.Item1 + 1;
            var bx  = aBx.Item2;

            vm.GetConst(bx);
            vm.Replace(a);
        }