Gets or sets the value of the R/M 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 RM { get; set; } |
| Visual Basic |
|---|
Public Property RM As Byte Get Set |
| Visual C++ |
|---|
public: property unsigned char RM { unsigned char get (); void set (unsigned char value); } |
Field Value
The 4-bit R/M value.
Remarks
The least significant three bits are encoded in the ModR/M byte, while the fourth bit is encoded as the
REX.B bit when there is no SIB byte.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | value > 0x0F |
Contracts
Get
| Ensures | ||
|---|---|---|
Contract.Result<byte>() <= 0x0F
|
Set
| Requires | ||||
|---|---|---|---|---|
value <= 0x0F
|