Initializes a new instance of the Immediate class.
Namespace: SharpAssembler.x86.OperandsAssembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public Immediate( Int128 constant, DataSize size ) |
Visual Basic |
---|
Public Sub New ( _ constant As Int128, _ size As DataSize _ ) |
Visual C++ |
---|
public: Immediate( Int128 constant, DataSize size ) |
Parameters
- constant
- Type: SharpAssembler.Core..::..Int128
A constant.
- size
- Type: SharpAssembler.Core..::..DataSize
The size of the resulting value.
Exceptions
Exception | Condition |
---|---|
System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(DataSize), size)) |
Contracts
Requires |
---|
Enum.IsDefined(typeof(DataSize), size) |