Initializes a new instance of the Bts 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 Bts( Operand subject, Operand bitIndex ) |
Visual Basic |
---|
Public Sub New ( _ subject As Operand, _ bitIndex As Operand _ ) |
Visual C++ |
---|
public: Bts( Operand^ subject, Operand^ bitIndex ) |
Parameters
- subject
- Type: SharpAssembler.x86.Operands..::..Operand
The register or memory operand whose bit is copied and set.
- bitIndex
- Type: SharpAssembler.x86.Operands..::..Operand
The index of the bit to copy.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | subject == null |
System..::..InvalidCastException | !( subject is RegisterOperand) && !(subject is EffectiveAddress) |
System..::..ArgumentNullException | bitIndex == null |
System..::..InvalidCastException | !( bitIndex is RegisterOperand) && !(bitIndex is Immediate) |
Contracts
Requires | ||
---|---|---|
subject != null
| ||
subject is RegisterOperand || subject is EffectiveAddress
| ||
bitIndex != null
| ||
bitIndex is RegisterOperand || bitIndex is Immediate
|