IA-32 Assembly Language Reference Manual

Load Effective Address (lea)

lea{wl}		r/m[16|32], reg[16|32]
Operation

Addr(m) -> r16 Addr(m) -> r32

Truncate to 16 bits(Addr(m)) -> r16

Truncate to 16 bits(Addr(m)) -> r32

Description

The offset part of the effective address is calculated by lea and stored in the specified register. The specified register determines the operand-size attribute if the instruction. The USE attribute of the segment containing the second operand determines the address-size attribute.

Example
leal 0x33333333, %edx