sgdt
SGDT stands for Store Global Descriptor Table Register. It is an x86 assembly instruction that copies the current contents of the Global Descriptor Table Register (GDTR) into a memory location specified by a memory operand. The GDTR holds the base address and limit of the Global Descriptor Table (GDT), which defines the memory segmentation used by protected mode and some compatibility modes.
The memory operand receives the GDTR data. In 32-bit operation, SGDT writes 6 bytes: a 16-bit limit
SGDT is used mainly in low-level system software such as operating systems, hypervisors, and boot code, where
See also SGDT’s siblings: LGDT and SIDT, and related concepts like the Global Descriptor Table (GDT) and