Пример #1
0
        public int[,] DebugExecute(List <Operation> operations)
        {
            List <int[]> listRegisters = new List <int[]>();

            executor.StartExeсute(operations);
            while (executor.Carriage < operations.Count)
            {
                executor.ExecuteOperation();
                listRegisters.Add(executor.Registers);
            }
            return(JaggedArrayToMatrix(listRegisters.ToArray()));
        }