Initializes a new instance of the Lea 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#
public Lea(
	RegisterOperand destination,
	EffectiveAddress address
)
Visual Basic
Public Sub New ( _
	destination As RegisterOperand, _
	address As EffectiveAddress _
)
Visual C++
public:
Lea(
	RegisterOperand^ destination, 
	EffectiveAddress^ address
)

Parameters

destination
Type: SharpAssembler.x86.Operands..::..RegisterOperand
The destination register operand.
address
Type: SharpAssembler.x86.Operands..::..EffectiveAddress
The address.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiondestination == null
System..::..ArgumentNullExceptionaddress == null

Contracts

Requires
destination != null
address != null

See Also