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