IndexX86 Backendasmjit::x86::SReg

asmjit::x86::SReg Class Reference [¶]

Inheritance diagram for asmjit::x86::SReg:
asmjit::Reg asmjit::Operand asmjit::Operand_

Segment register (X86|X86_64).

Static Public Attributes

- Static Public Attributes inherited from asmjit::Reg
- Static Public Attributes inherited from asmjit::Operand_

Public Types

- Public Types inherited from asmjit::Operand_

Member Functions

- Public Member Functions inherited from asmjit::Reg
- Public Member Functions inherited from asmjit::Operand
- Public Member Functions inherited from asmjit::Operand_

Static Functions

- Static Public Member Functions inherited from asmjit::Reg
- Static Public Member Functions inherited from asmjit::Operand_

Additional Inherited Members

- Public Attributes inherited from asmjit::Operand_

x86::SReg::Id : uint32_tenum[¶]

X86 segment id.

ConstantDescription
kIdNone 

No segment (default).

kIdEs 

ES segment.

kIdCs 

CS segment.

kIdSs 

SS segment.

kIdDs 

DS segment.

kIdFs 

FS segment.

kIdGs 

GS segment.

kIdCount 

Count of X86 segment registers supported by AsmJit.

\note X86 architecture has 6 segment registers - ES, CS, SS, DS, FS, GS. X64 architecture lowers them down to
just FS and GS. AsmJit supports 7 segment registers - all addressable in both X86 and X64 modes and one extra
called `SReg::kIdNone`, which is AsmJit specific and means that there is no segment register specified. 

x86::SReg::SReg()constexprnoexcept[1/6][¶]

Default constructor that only setups basics.

x86::SReg::SReg(
const SReg& other
)constexprnoexcept[2/6][¶]

Makes a copy of the other register operand.

x86::SReg::SReg(
const Reg& other,
uint32_t id
)constexprnoexcept[3/6][¶]

Makes a copy of the other register having id set to id

x86::SReg::SReg(
const OperandSignature& sgn,
uint32_t id
)constexprnoexcept[4/6][¶]

Creates a register based on signature and id.

x86::SReg::SReg()explicitnoexcept[5/6][¶]

Creates a completely uninitialized SReg register operand (garbage).

x86::SReg::SReg(
uint32_t id
)constexprexplicitnoexcept[6/6][¶]

Creates a register operand having its id set to id.

SReg x86::SReg::fromTypeAndId(
RegType type,
uint32_t id
)staticnoexcept[¶]

Creates a new register from register type and id.

SReg x86::SReg::clone() constconstexprnoexcept[¶]

Clones the register operand.