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