Initializes a new instance of the Adc 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 Adc( RegisterOperand destination, RegisterOperand source ) |
| Visual Basic |
|---|
Public Sub New ( _ destination As RegisterOperand, _ source As RegisterOperand _ ) |
| Visual C++ |
|---|
public: Adc( RegisterOperand^ destination, RegisterOperand^ source ) |
Parameters
- destination
- Type: SharpAssembler.x86.Operands..::..RegisterOperand
The destination register operand.
- source
- Type: SharpAssembler.x86.Operands..::..RegisterOperand
The source register operand.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | destination == null |
| System..::..ArgumentException | !(destination.Register.IsGeneralPurposeRegister()) |
| System..::..ArgumentNullException | source == null |
| System..::..ArgumentException | !(source.Register.IsGeneralPurposeRegister()) |
Contracts
| Requires | ||
|---|---|---|
destination != null
| ||
destination.Register.IsGeneralPurposeRegister()
| ||
source != null
| ||
source.Register.IsGeneralPurposeRegister()
|