private int Run(Command command) { controlUnit.StoreCommand(command); controlUnit.ExecuteCommand(); return arithmeticUnit.Register; }
public void StoreCommand(Command command) { commands.Add(command); }