Initializes a new instance of the J 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 J( RelativeOffset offset, InstructionCondition condition ) |
| Visual Basic |
|---|
Public Sub New ( _ offset As RelativeOffset, _ condition As InstructionCondition _ ) |
| Visual C++ |
|---|
public: J( RelativeOffset^ offset, InstructionCondition condition ) |
Parameters
- offset
- Type: SharpAssembler.x86.Operands..::..RelativeOffset
The jump offset.
- condition
- Type: SharpAssembler.x86..::..InstructionCondition
The condition on which this instruction executes.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | offset == null |
| System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(InstructionCondition), condition)) |
| System..::..ArgumentException | condition == InstructionCondition.None |
Contracts
| Requires | ||
|---|---|---|
offset != null
| ||
Enum.IsDefined(typeof(InstructionCondition), condition) | ||
condition != InstructionCondition.None
|