Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 606 Bytes

sgdt.scd

File metadata and controls

22 lines (14 loc) · 606 Bytes

sgdt(1)

NAME

sgdt - get the base and limit of SGDT, SLDT, SIDT, and STR instructions

SYNOPSIS

sgdt [descriptor...]

DESCRIPTION

sgdt prints informations about the x86 registers related to x86 descriptor tables. The registers shown depend on the descriptor argument:

  • gdt will print the Global Descriptor Table Register (GDTR)
  • ldt will print the Local Descriptor Table Register (LDTR)
  • idt will print the Interrupt Descriptor Table Register (IDTR)
  • tr will print the Task Register (TR)

If no argument is provided, sgdt behaves as if "gdt" was provided as descriptor.