Initializes a new instance of the CpuType class.
Namespace: SharpAssembler.x86Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public CpuType( string name, DataSize operatingModes, CpuFeatures features ) |
Visual Basic |
---|
Public Sub New ( _ name As String, _ operatingModes As DataSize, _ features As CpuFeatures _ ) |
Visual C++ |
---|
public: CpuType( String^ name, DataSize operatingModes, CpuFeatures features ) |
Parameters
- name
- Type: System..::..String
The name of the CPU type.
- operatingModes
- Type: SharpAssembler.Core..::..DataSize
A bitwise combination of members of the DataSize enumeration, specifying the available operating modes.
- features
- Type: SharpAssembler.x86..::..CpuFeatures
A bitwise combination of members of the CpuFeatures enumeration, specifying the available features.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | name == null |
Contracts
Requires | ||
---|---|---|
name != null
|