Gets or sets the address size of the effective address.
Namespace: SharpAssembler.x86.OperandsAssembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public DataSize AddressSize { get; set; } |
Visual Basic |
---|
Public Property AddressSize As DataSize Get Set |
Visual C++ |
---|
public: property DataSize AddressSize { DataSize get (); void set (DataSize value); } |
Field Value
A member of the DataSize enumeration; or None to specify no particular address size.
Remarks
When set to a value other than None, the specified address
size is used. The registers are checked to have the same size. When set to
None, the address size is determined from the registers. When
no registers are set, the address size is determined from the Context.
Exceptions
Exception | Condition |
---|---|
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) |