public Process(Executable File, int MemorySize, API APIs) { hasData = false; api = APIs; Vars = new VariableManager(MemorySize); proc = new Processor(Vars); Labels = new int[MemorySize / 8]; for (int i = 0; i < Labels.Length; i++) { Labels[i] = -1; } Running = true; Current = 0; Instructions = File.CPU(); }
public Processor(VariableManager var) { this.var = var; }