LES
LOAD POINTER USING
ES
LES
Operation:
(REG)
+-
(EA)
(ES)
+-
(EA +
2)
Description:
LES
destination, source
LES (load pointer using ES) transfers a 32-bit
pointer variable from the source operand,
which must be a memory operand, to the des-
tination operand and register ES. The offset
word
of
the pointer
is
transferred to the des-
tination operand, which may be any· 16-bit
general register. The segment word
of
the
Encoding:
111000100
1 mod reg rIm 1
if
mod =
11
then undefined operation
Flags Affected:
None
pointer
is
transferred to register ES. Specifying
DI as the destination operand
is
a convenient
way to prepare to process a destination string
that
is
not in the current extra segment. (The
destination string must be located in the extra
segment, and DI
must contain the offset
of
the
string.)
LES Operands Clocks Transfers Bytes LES
Coding
Example
reg16, mem32
24+EA
2
2-4
LES
DI,[BX].TEXT_BUFF
2-110