Initializes a new instance of the Lea class.
Namespace: SharpAssembler.x86.InstructionsAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | destination == null |
System..::..ArgumentNullException | address == null |
Contracts
Requires | ||
---|---|---|
destination != null
| ||
address != null
|