コード例 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="symbolResolver">Symbol resolver or null</param>
 public FastFormatter(ISymbolResolver?symbolResolver)
 {
     options             = new FastFormatterOptions();
     this.symbolResolver = symbolResolver;
     allRegisters        = Registers.AllRegisters;
     codeMnemonics       = FmtData.Mnemonics;
     codeFlags           = FmtData.Flags;
     allMemorySizes      = MemorySizes.AllMemorySizes;
     rcStrings           = s_rcStrings;
     scaleNumbers        = s_scaleNumbers;
 }
コード例 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="symbolResolver">Symbol resolver or null</param>
        public FastFormatter(ISymbolResolver?symbolResolver)
        {
            options             = new FastFormatterOptions();
            this.symbolResolver = symbolResolver;
            allRegisters        = Registers.AllRegisters;
            codeMnemonics       = FmtData.Mnemonics;
            codeFlags           = FmtData.Flags;
            allMemorySizes      = MemorySizes.AllMemorySizes;
            rcStrings           = s_rcStrings;
            rcSaeStrings        = s_rcSaeStrings;
            scaleNumbers        = s_scaleNumbers;
#if MVEX
            mvexRegMemConsts32 = s_mvexRegMemConsts32;
            mvexRegMemConsts64 = s_mvexRegMemConsts64;
#endif
        }