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