예제 #1
0
        static void Main()
        {
            //Application.EnableVisualStyles();
              //Application.SetCompatibleTextRenderingDefault(false);
              //Application.Run(new Form1());

              file_handler fh = new file_handler("../../test.txt");
              List<string> lines = fh.ReadFile();

              interpreter i = new interpreter(lines);
              i.ConvertASMtoBIN();
              fh.WriteFile("../../binary", i.BinaryLines);
        }
예제 #2
0
        static void Main()
        {
            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Form1());

            file_handler  fh    = new file_handler("../../test.txt");
            List <string> lines = fh.ReadFile();

            interpreter i = new interpreter(lines);

            i.ConvertASMtoBIN();
            fh.WriteFile("../../binary", i.BinaryLines);
        }