Initializes a new instance of the Popcnt 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 Popcnt( RegisterOperand destination, RegisterOperand subject ) |
| Visual Basic |
|---|
Public Sub New ( _ destination As RegisterOperand, _ subject As RegisterOperand _ ) |
| Visual C++ |
|---|
public: Popcnt( RegisterOperand^ destination, RegisterOperand^ subject ) |
Parameters
- destination
- Type: SharpAssembler.x86.Operands..::..RegisterOperand
The register in which the bit's index will be stored.
- subject
- Type: SharpAssembler.x86.Operands..::..RegisterOperand
The register operand which is checked.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | destination == null |
| System..::..ArgumentNullException | subject == null |
Contracts
| Requires | ||
|---|---|---|
destination != null
| ||
subject != null
|