public SubtractLine(CodeLine codeLine, bool carryFlag) : base(codeLine.Code, codeLine, codeLine.Strings) { CarryFlag = carryFlag; var split = codeLine.Code["SUB".Length..].Trim().Split(','); //SUB or SBC
public RotateLeftLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { base.Comment = codeLine.Comment; base.Raw = codeLine.Raw; Rotate = base.Code[(base.Code.IndexOf("RL", StringComparison.OrdinalIgnoreCase) + "RL".Length)..].Trim();
public WarnLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { Warning = Parser.GetStrings(codeLine.Code).Single().TrimStart('"').TrimEnd('"'); }
public OptionLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { var options = codeLine.Code["OPT".Length..].Trim().Split(',');
public PurgeLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { Purge = codeLine.Code.Split().Last(); }
public ElseLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { }
public IncrementLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { base.Comment = codeLine.Comment; base.Raw = codeLine.Raw; Increment = base.Code[(base.Code.IndexOf("INC", StringComparison.OrdinalIgnoreCase) + "INC".Length)..]
public RelativeJumpLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { base.Comment = codeLine.Comment; base.Raw = codeLine.Raw; var parameters = codeLine.Code["JR".Length..].Split(',');
public SubtractCompareLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { var values = codeLine.Code.Trim()["CP".Length..].Trim();
public CharMapLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { var values = codeLine.Code.Trim()["CHARMAP".Length..].Trim();
public JumpLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { JumpDestination = base.Code[(base.Code.IndexOf("JP", StringComparison.OrdinalIgnoreCase) + "JP".Length)..]
public EndMacroLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { }
public FailLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { FailMessage = Parser.GetStrings(codeLine.Code).Single().TrimStart('"').TrimEnd('"'); }
public CharMapLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { base.Comment = codeLine.Comment; base.Raw = codeLine.Raw; var values = codeLine.Code.Trim()["CHARMAP".Length..];
public ShiftLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { }
public ResetByteLine(CodeLine codeLine) : base(codeLine.Code, codeLine, codeLine.Strings) { SetBit = codeLine.Code["RES".Length..].Split(',')[0].Trim();