3-354
INSTRUCTION SET REFERENCE
LEALoad Effective Address (Continued)
Operation
IF OperandSize = 16 AND AddressSize = 16
THEN
DEST
<
EffectiveAddress(SRC); (* 16-bit address *)
ELSE IF OperandSize = 16 AND AddressSize = 32
THEN
temp
<
EffectiveAddress(SRC); (* 32-bit address *)
DEST
<
temp[0..15]; (* 16-bit address *)
ELSE IF OperandSize = 32 AND AddressSize = 16
THEN
temp
<
EffectiveAddress(SRC); (* 16-bit address *)
DEST
<
ZeroExtend(temp); (* 32-bit address *)
ELSE IF OperandSize = 32 AND AddressSize = 32
THEN
DEST
<
EffectiveAddress(SRC); (* 32-bit address *)
FI;
FI;
Flags Affected
None.
Protected Mode Exceptions
#UD
If source operand is not a memory location.
Real-Address Mode Exceptions
#UD
If source operand is not a memory location.
Virtual-8086 Mode Exceptions
#UD
If source operand is not a memory location.