Load Pointer using ES                            

86/88

Y

186

Y

286

Y

386

Y

486

Y

LES destination, source

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    LES loads into two registers the 32-bit pointer variable found in
    memory at source. LES stores the segment value (the higher order word
    of source) in ES 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:          LDS, Load Pointer Using DS, is a comparable
                      instruction that loads the DS register rather than
                      the ES register.

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

OpCode          Instruction             386     286     86
C4/r            LES r16, m16:16         7       7       16+EA
C4/r            LES r32, m12:32         7

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

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

See Also LEA LDS LFS LGS LSS


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