Initializes a new instance of the Lods class.

Namespace: SharpAssembler.x86.Instructions
Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Lods(
	DataSize size
)
Visual Basic
Public Sub New ( _
	size As DataSize _
)
Visual C++
public:
Lods(
	DataSize size
)

Parameters

size
Type: SharpAssembler.Core..::..DataSize
The size of the data to load.

Exceptions

ExceptionCondition
System.ComponentModel..::..InvalidEnumArgumentException!(Enum.IsDefined(typeof(DataSize), size))
System..::..ArgumentExceptionsize != DataSize.Bit8 && size != DataSize.Bit16 && size != DataSize.Bit32 && size != DataSize.Bit64

Contracts

Requires
Enum.IsDefined(typeof(DataSize), size)
size == DataSize.Bit8 || size == DataSize.Bit16 ||
				size == DataSize.Bit32 || size == DataSize.Bit64
Description: The size must be either 8, 16, 32 or 64-bits.
Exception: System..::..ArgumentException

See Also