Gets an explicit operand size for this instruction.

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

Syntax

C#
public DataSize OperandSize { get; protected set; }
Visual Basic
Public Property OperandSize As DataSize
	Get
	Protected Set
Visual C++
public:
property DataSize OperandSize {
	DataSize get ();
	protected: void set (DataSize value);
}

Field Value

The explicit operand size for this instruction; or None to determine it from the operands.

Remarks

This property is intended to be used with instructions which do not have any operand from which the operand size can be determined.

Exceptions

ExceptionCondition
System.ComponentModel..::..InvalidEnumArgumentException!(Enum.IsDefined(typeof(DataSize), value))

Contracts

Get

Ensures
Enum.IsDefined(typeof(DataSize), Contract.Result<DataSize>())

Set

Requires
Enum.IsDefined(typeof(DataSize), value)

See Also