Initializes a new instance of the Prefetchl 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 Prefetchl( EffectiveAddress address, Prefetchl..::..PrefetchLevel level ) |
| Visual Basic |
|---|
Public Sub New ( _ address As EffectiveAddress, _ level As Prefetchl..::..PrefetchLevel _ ) |
| Visual C++ |
|---|
public: Prefetchl( EffectiveAddress^ address, Prefetchl..::..PrefetchLevel level ) |
Parameters
- address
- Type: SharpAssembler.x86.Operands..::..EffectiveAddress
The address to prefetch.
- level
- Type: SharpAssembler.x86.Instructions..::..Prefetchl..::..PrefetchLevel
The prefetch level.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | address == null |
| System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(PrefetchLevel), level)) |
| System..::..ArgumentException | level == PrefetchLevel.None |
Contracts
| Requires | ||
|---|---|---|
address != null
| ||
Enum.IsDefined(typeof(PrefetchLevel), level) | ||
level != PrefetchLevel.None
|