LES              Load Pointer using ES               Flags: not altered
 
LES dest-reg,source
 
          Logic:    ES  (source)
                    dest-reg  (source + 2)
 
    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).
 
  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   reg16, mem32             24 + EA       2       2-4    LES DI, STR_ADDR
  --------------------------------------------------------------------------
 
       Note:          LDS, Load Pointer Using DS, is a comparable
                      instruction that loads the DS register rather than
                      the ES register.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster