Enum tartan_arch::x86_common::protection::SegmentRegister
source · pub enum SegmentRegister {
Code,
Data,
Stack,
Extra,
ExtraF,
ExtraG,
}
Available on x86 or x86-64 only.
Expand description
Standard segment registers (CS
, DS
, SS
, etc.), which contain Selector
s.
Variants§
Code
CS
register, which controls instruction loading
Data
DS
register, which controls the default segment for load/store instructions
Stack
SS
segment register, which controls the location of the stack pointer and stack
push and pop instructions.
Extra
ES
segment register, which can be used as an additional data segment.
ExtraF
FS
segment register, which can be used as an additional data segment.
ExtraG
GS
segment register, which can be used as an additional data segment.