Represents an encoded instruction.

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

Syntax

C#
public sealed class EncodedInstruction : IEmittable
Visual Basic
Public NotInheritable Class EncodedInstruction _
	Implements IEmittable
Visual C++
public ref class EncodedInstruction sealed : IEmittable

Contracts

Invariants
Enum.IsDefined(typeof(PrefixLockRepeat), this.prefix1)
Enum.IsDefined(typeof(PrefixSegmentBranch), this.prefix2)
Enum.IsDefined(typeof(PrefixAddressSizeOverride), this.prefix3)
Enum.IsDefined(typeof(PrefixOperandSizeOverride), this.prefix4)
this.mandatoryPrefix != null
this.opcode != null
this.opcodeReg <= 0x0F
Description: Only the first 4 bits may be set.
this.fixedReg <= 0x07
Description: Only the first 3 bits may be set.
Enum.IsDefined(typeof(DataSize), this.displacementSize)
Enum.IsDefined(typeof(DataSize), this.immediateSize)
Enum.IsDefined(typeof(DataSize), this.extraImmediateSize)

Inheritance Hierarchy

System..::..Object
  SharpAssembler.x86..::..EncodedInstruction

See Also