Initializes a new instance of the ArithmeticInstruction class.

Namespace: SharpAssembler.x86.Instructions
Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected ArithmeticInstruction(
	RegisterOperand destination,
	EffectiveAddress source
)
Visual Basic
Protected Sub New ( _
	destination As RegisterOperand, _
	source As EffectiveAddress _
)
Visual C++
protected:
ArithmeticInstruction(
	RegisterOperand^ destination, 
	EffectiveAddress^ source
)

Parameters

destination
Type: SharpAssembler.x86.Operands..::..RegisterOperand
The destination register operand.
source
Type: SharpAssembler.x86.Operands..::..EffectiveAddress
The source register or memory operand.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiondestination == null
System..::..ArgumentException!(destination.Register.IsGeneralPurposeRegister())
System..::..ArgumentNullExceptionsource == null

Contracts

Requires
destination != null
destination.Register.IsGeneralPurposeRegister()
source != null

See Also