コード例 #1
0
        /// <summary>
        ///     Create an M68K Instruction Detail.
        /// </summary>
        /// <param name="disassembler">
        ///     A disassembler.
        /// </param>
        /// <param name="hInstruction">
        ///     An instruction handle.
        /// </param>
        /// <returns>
        ///     An M68K instruction detail.
        /// </returns>
        internal static M68KInstructionDetail Create(CapstoneDisassembler disassembler, NativeInstructionHandle hInstruction)
        {
            var builder = new M68KInstructionDetailBuilder();

            builder.Build(disassembler, hInstruction);

            return(builder.Create());
        }
コード例 #2
0
 /// <summary>
 ///     Create an M68K Instruction Detail.
 /// </summary>
 /// <param name="builder">
 ///     A builder to initialize the object with.
 /// </param>
 internal M68KInstructionDetail(M68KInstructionDetailBuilder builder) : base(builder)
 {
     this.Operands      = builder.Operands;
     this.OperationSize = builder.OperationSize;
 }