Loads 32-bit pointer from memory source to destination register and GS.
The offset is placed in the destination register and the segment is placed in GS.
To use this instruction the word at the lower memory address must contain the offset and the word at the higher address must contain the segment.
This simplifies the loading of far pointers from the stack and the interrupt vector table.
Usage:
LGDT dest,src ;
Modifies flags:
none
Clocks | Size | |||||
---|---|---|---|---|---|---|
Operands | 808x | 286 | 386 | 486 | Bytes | |
reg,mem | - | - | 7 | 6 | 5-7 | |
reg,mem (PM) | - | - | 22 | 12 | 5-7 |