[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
LDS Load Pointer using DS Flags: not altered
LDS destination,source
Logic: DS . (source + 2)
destination . (source)
LDS loads into two registers the 32-bit pointer variable found in
memory at source. LDS stores the segment value (the higher order word
of source) in DS and the offset value (the lower order word of source)
in the destination register. The destination register may be any any
16-bit general register (that is, all registers except segment
registers).
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
reg16, mem32 24 + EA 2 2-4 LDS DI,32_POINTER
--------------------------------------------------------------------------
Note: LES, Load Pointer Using ES, is a comparable
instruction that loads the ES register rather than
the DS register.
See Also:
LEA
LES
OFFSET
EA
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson