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