Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Options myOptions = new Options();

            myOptions.Parse(args);


            if (myOptions.GetTest())
            {
                TestRAM.RunTests();
                TestLoader.RunTests(myOptions);
                Environment.Exit(0);
            }

            RAMsim myRam    = new RAMsim(myOptions.GetMemSize());
            Loader myLoader = new Loader(myOptions, myRam);

            myLoader.Load();
        }