Exemple #1
0
 protected void FormatBase(int index, InstructionInfo info, string formattedString, Formatter formatter) =>
 FormatterTestUtils.FormatTest(info.CodeSize, info.HexBytes, info.Code, formattedString, formatter);
Exemple #2
0
 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);
 }
Exemple #3
0
 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));
 }
Exemple #4
0
		protected void FormatBase(int index, Instruction instruction, string formattedString, Formatter formatter) =>
			FormatterTestUtils.FormatTest(instruction, formattedString, formatter);