LEA

LOAD EFFECTIVE

ADDRESS

LEA

Operation:

Flags Affected:

(REG) - EA

None

Description:

LEA destination,source

LEA (load effective address) transfers the off- set of the source operand (rather than its value) to the destination operand. The source operand must be a memory operand, and the destination operand must be a 16-bit general

register. LEA does not affect any flags. The XLAT and string instructions assume that cer- tain registers point to operands; LEA can be used to load these registers (e.g., loading BX with the address of the translate table used by the XLAT instruction).

Encoding:

11 00011 01 1mod reg rIm 1

if mod = 11 then undefined operation

LEA Operands

Clocks

Transfers

Bytes LEA Coding Example

reg16, mem16

2+EA

-

2-4 LEA BX,[BP] [DI]

2-109

Page 144
Image 144
Intel 210200-002 manual Load Effective Address, LEA destination,source