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( Reference reference, DataSize size ) |
Visual Basic |
---|
Public Sub New ( _ reference As Reference, _ size As DataSize _ ) |
Visual C++ |
---|
public: Immediate( Reference^ reference, DataSize size ) |
Parameters
- reference
- Type: SharpAssembler.Core.Symbols..::..Reference
A reference.
- size
- Type: SharpAssembler.Core..::..DataSize
The size of the resulting value.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | reference == null |
System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(DataSize), size)) |
Contracts
Requires | ||
---|---|---|
reference != null
| ||
Enum.IsDefined(typeof(DataSize), size) |