Initializes a new instance of the RegisterOperand class.

Namespace: SharpAssembler.x86.Operands
Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public RegisterOperand(
	Register register
)
Visual Basic
Public Sub New ( _
	register As Register _
)
Visual C++
public:
RegisterOperand(
	Register register
)

Parameters

register
Type: SharpAssembler.x86..::..Register
The Register; or Register.None.

Exceptions

ExceptionCondition
System.ComponentModel..::..InvalidEnumArgumentException!(Enum.IsDefined(typeof(Register), register))

Contracts

Requires
Enum.IsDefined(typeof(Register), register)

See Also