Initializes a new instance of the J 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 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

ExceptionCondition
System..::..ArgumentNullExceptionoffset == null
System.ComponentModel..::..InvalidEnumArgumentException!(Enum.IsDefined(typeof(InstructionCondition), condition))
System..::..ArgumentExceptioncondition == InstructionCondition.None

Contracts

Requires
offset != null
Enum.IsDefined(typeof(InstructionCondition), condition)
condition != InstructionCondition.None

See Also