protected void FormatBase(int index, InstructionInfo info, string formattedString, Formatter formatter) => FormatterTestUtils.FormatTest(info.CodeSize, info.HexBytes, info.Code, formattedString, formatter);
protected void FormatBase(int index, OptionsInstructionInfo info, string formattedString, Formatter formatter) { info.InitOptions(formatter.Options); FormatterTestUtils.SimpleFormatTest(info.CodeSize, info.HexBytes, info.Code, DecoderOptions.None, formattedString, formatter, info.InitDecoder); }
protected void FormatBase(int index, OptionsInstructionInfo info, string formattedString, FastFormatter formatter) { info.Initialize(formatter.Options); FormatterTestUtils.SimpleFormatTest(info.Bitness, info.HexBytes, info.Code, info.DecoderOptions, formattedString, formatter, decoder => info.Initialize(decoder)); }
protected void FormatBase(int index, Instruction instruction, string formattedString, Formatter formatter) => FormatterTestUtils.FormatTest(instruction, formattedString, formatter);