Load Pointer using DS                            

86/88

Y

186

Y

286

Y

386

Y

486

Y

LDS destniation, source

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    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).

       Note:          LES, Load Pointer Using ES, is a comparable
                      instruction that loads the ES register rather than
                      the DS register.

------------------------------------ Timing ----------------------------------

OpCode          Instruction             386     286     86
C5/r            LDS r16, m16:16         7       7       16
C5/r            LDS r32, m16:32         7

------------------------------------ Logic -----------------------------------

        DS = (Source + 2)
        destination = (source)

See Also LEA LES LFS LGS LSS


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .