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