LOS LOAD POINTER USING DS LOS

Operation:

Flags Affected:

(REG) +- (EA)

None

(DS) +- (EA + 2)

 

Description:

LOS destination,source

LDS (load pointer using DS) transfers a 32-bit pointer variable from the source operand, which must be a memory operand, to the des- tination operand and register DS. 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 DS. Specify- ingS1 as the destination operand is a conve- nient way to prepare to process.a source string that is not in the current data segment (string instructions assume that the source string is located in the current data segment and that S1 contains the offset of the string).

Encoding:

111 0001 01 1mod reg rIm 1

if mod = 11 then undefined operation

LOS Operands

Clocks

Transfers

Bytes

LOS Coding Example

reg16, mem32

24+EA

2

2-4

LOS SI,OATA.SEG [OIJ

2-108

Page 143
Image 143
Intel 210200-002 manual 111 0001 01 1mod reg rIm, LOS destination,source