Checks whether the specified address 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 IsValidAddressSize ( _
type As CpuType, _
addressSize As DataSize _
) As Boolean |
Return Value
trueTruetruetrue (True in Visual Basic) when
addressSize is valid for
type;
otherwise,
falseFalsefalsefalse (False in Visual Basic).
Exceptions
Contracts
This method is pure.
Requires |
---|
Enum.IsDefined(typeof(DataSize), addressSize) |
See Also