Initializes a new instance of the Pusha 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 Pusha( DataSize size ) |
Visual Basic |
---|
Public Sub New ( _ size As DataSize _ ) |
Visual C++ |
---|
public: Pusha( DataSize size ) |
Parameters
- size
- Type: SharpAssembler.Core..::..DataSize
The size of the data to pop.
Exceptions
Exception | Condition |
---|---|
System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(DataSize), size)) |
System..::..ArgumentException | size != DataSize.Bit16 && size != DataSize.Bit32 |
Contracts
Requires | ||||
---|---|---|---|---|
Enum.IsDefined(typeof(DataSize), size) | ||||
size == DataSize.Bit16 || size == DataSize.Bit32
|