Intel 210200-002 manual Load Pointer Using ES LES, LES destination, source

Models: 210200-002

1 354
Download 354 pages 14.88 Kb
Page 145
Image 145

LES

LOAD POINTER USING ES LES

Operation:

 

Flags Affected:

(REG) +- (EA)

None

(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

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

Encoding:

111000100 1mod reg rIm 1

if mod = 11 then undefined operation

LES Operands

Clocks

Transfers

Bytes

LES Coding Example

reg16, mem32

24+EA

2

2-4

LES DI,[BX].TEXT_BUFF

2-110

Page 145
Image 145
Intel 210200-002 manual Load Pointer Using ES LES, LES destination, source