Initializes a new instance of the Cmpxchg 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 Cmpxchg(
	RegisterOperand compared,
	RegisterOperand source
)
Visual Basic
Public Sub New ( _
	compared As RegisterOperand, _
	source As RegisterOperand _
)
Visual C++
public:
Cmpxchg(
	RegisterOperand^ compared, 
	RegisterOperand^ source
)

Parameters

compared
Type: SharpAssembler.x86.Operands..::..RegisterOperand
The register operand being compared.
source
Type: SharpAssembler.x86.Operands..::..RegisterOperand
The source operand.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptioncompared == null
System..::..ArgumentNullExceptionsource == null

Contracts

See Also