HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

                   LGS - Load Pointer Using GS  (386+ only)

       Usage:  LGS     dest,src
       Modifies flags: None

       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.

                                Clocks                 Size
       Operands         808x  286   386   486          Bytes

       reg,mem           -     -     7     6            5-7
       reg,mem (PM)      -     -     22    12           5-7

       - see Instruction Timing

Esc or Alt-X to exit lgs Home/PgUp/PgDn/End ←↑↓→
Converted to HTML in 2006 by Timo Bingmann