Gets or sets the value of the BASE part of the SIB byte.

Namespace: SharpAssembler.x86
Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public byte Base { get; set; }
Visual Basic
Public Property Base As Byte
	Get
	Set
Visual C++
public:
property unsigned char Base {
	unsigned char get ();
	void set (unsigned char value);
}

Field Value

The 4-bit BASE value.

Remarks

The least significant three bits are encoded in the SIB byte, while the fourth bit is encoded as the REX.B bit when there is a SIB byte.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionvalue > 0x0F

Contracts

Get

Ensures
Contract.Result<byte>() <= 0x0F
Description: Only the first 4 bits may be set.

Set

Requires
value <= 0x0F
Description: Only the first 4 bits may be set.
Exception: System..::..ArgumentOutOfRangeException

See Also