internal static void loadK(Instruction i, ref LuaVM vm) { var(a, bx) = i.ABx(); a += 1; vm.GetConst(bx); vm.Replace(a); }
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); }
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); }
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); }