Checks whether the specified operand size is valid for the specified CPU type.
Namespace: SharpAssembler.x86Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| Visual Basic |
|---|
Public Shared Function IsValidOperandSize ( _
type As CpuType, _
operandSize As DataSize _
) As Boolean |
Return Value
trueTruetruetrue (True in Visual Basic) when
operandSize is valid for
type;
otherwise,
falseFalsefalsefalse (False in Visual Basic).
Exceptions
Contracts
This method is pure.
| Requires |
|---|
Enum.IsDefined(typeof(DataSize), operandSize) |
See Also