Beispiel #1
0
 public Main(string filename)
 {
     this.filename = filename;
     memory = new Memory();
     input = new Input();
     parser = new Parser();
 }
Beispiel #2
0
 public CPU(List<string> program, Memory memory, Input input)
 {
     this.program = program.ToArray();
     this.memory = memory;
     this.input = input;
 }