/// <summary>
        /// Initializes a new instance of the <see cref="ArithmeticInstruction"/> class.
        /// </summary>
        /// <param name="destination">The destination operand.</param>
        /// <param name="source">The source operand.</param>
        private ArithmeticInstruction(IRegisterOrMemoryOperand destination, ISourceOperand source)
        {
            #region Contract
            Contract.Requires <ArgumentNullException>(destination != null);
            Contract.Requires <ArgumentNullException>(source != null);
            #endregion

            this.destination = destination;
            this.source      = source;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ArithmeticInstruction"/> class.
 /// </summary>
 /// <param name="destination">The destination operand.</param>
 /// <param name="source">The source operand.</param>
 private ArithmeticInstruction(IRegisterOrMemoryOperand destination, ISourceOperand source)
 {
     this.destination = destination;
     this.source = source;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="ArithmeticInstruction"/> class.
        /// </summary>
        /// <param name="destination">The destination operand.</param>
        /// <param name="source">The source operand.</param>
        private ArithmeticInstruction(IRegisterOrMemoryOperand destination, ISourceOperand source)
        {
            #region Contract
            Contract.Requires<ArgumentNullException>(destination != null);
            Contract.Requires<ArgumentNullException>(source != null);
            #endregion

            this.destination = destination;
            this.source = source;
        }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArithmeticInstruction"/> class.
 /// </summary>
 /// <param name="destination">The destination operand.</param>
 /// <param name="source">The source operand.</param>
 private ArithmeticInstruction(IRegisterOrMemoryOperand destination, ISourceOperand source)
 {
     this.destination = destination;
     this.source      = source;
 }