static ProcessorModel CreateProcessorModel() { string sourceFileName = "../../AssemblerCode.txt"; string[] inputLines = File.ReadAllLines(sourceFileName); var commands = ExtractCommands(inputLines); var model = new ProcessorModel(); model.SetProgram(commands); return(model); }
public MovCommand(ProcessorModel parent) : base(parent) { }
public CommandRegister(ProcessorModel parent) : base(parent) { }
public ValueRegister(ProcessorModel parent) : base(parent) { }
public StatusRegister(ProcessorModel parent) : base(parent) { }
public Register(ProcessorModel parent) { this.Parent = parent; value = new BitValue(new bool[ProcessorModel.BIT_LENGTH]); }
public Command(ProcessorModel parent) { this.Parent = parent; }