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