Assembly Language Help (alang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
LDS Instructions
◄Detail► ◄Key► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Title: Load Far Pointer Flags: O D I T S Z A P C
═════════════════
Syntax: LDS reg,mem -none-
LES reg,mem
LFS reg,mem
LGS reg,mem
LSS reg,mem
See also: LEA
Description:
Reads and stores the far pointer specified by the source memory
operand. The instruction moves the pointer's segment value into
DS, ES, FS, GS, or SS (depending on the for of the instruction).
Then it moves the pointer's offset value into the destination
operand.
The LDS and LES instructions are available on all processors.
The LFS, LGS, and LSS instructions are available only on the
80386/486.
-♦-