Example #1
0
 public PICArchitectureOptions(PICArchitectureOptionsPicker picker)
 {
     if (picker == null)
     {
         throw new ArgumentNullException(nameof(picker));
     }
     ProcessorModel   = PICProcessorModel.GetModel(picker.PICName);
     PICExecutionMode = (picker.AllowExtended ? PICExecMode.Extended : PICExecMode.Traditional);
     LoaderType       = picker.LoaderType;
 }
Example #2
0
 public PICArchitectureOptions(string picName, PICExecMode execMode, string ldrType = "raw")
     : this(PICProcessorModel.GetModel(picName), execMode, ldrType)
 {
 }