Example #1
0
 public Repl(ProgrammingModel model, Memory memory)
 {
     registry = new InstructionRegistry();
       this.model = model;
       this.memory = memory;
       assembler = new Assembler(registry.All);
       fetcher = new Fetcher(model, memory);
       decoder = new Decoder(registry.All);
       executor = new Executor(registry.All, model, memory);
       coreLoop = new CoreLoop(fetcher, decoder, executor);
 }
Example #2
0
 public Executor(Registry registry, ProgrammingModel model, Memory memory)
 {
     this.registry = registry;
       this.model = model;
       this.memory = memory;
 }
Example #3
0
 public virtual void Execute(ProgrammingModel model, Memory memory, byte argument)
 {
     RegisterUtils.IncrementRegister(model, RegisterName.Y);
 }
Example #4
0
 public Fetcher(ProgrammingModel model, Memory memory)
 {
     this.model = model;
       this.memory = memory;
 }