Gets or sets the value of the MOD part of the ModR/M byte.
Namespace: SharpAssembler.x86Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public byte Mod { get; set; } |
Visual Basic |
---|
Public Property Mod As Byte Get Set |
Visual C++ |
---|
public: property unsigned char Mod { unsigned char get (); void set (unsigned char value); } |
Field Value
The 2-bit MOD value.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | value > 0x03 |
Contracts
Get
Ensures | ||
---|---|---|
Contract.Result<byte>() <= 0x03
|
Set
Requires | ||||
---|---|---|---|---|
value <= 0x03
|