LEA

By Vesper Vei
1 minute read

Table of Contents

  1. LEA (lea)
    1. Basic purpose
    2. Instruction format
    3. Behavioral characteristics
    4. Examples
    5. Common uses

LEA (lea)

Basic purpose

LEA (Load Effective Address) is used to compute and load the value of an “effective address expression” rather than access that memory address.
It is essentially an arithmetic instruction, not a memory read instruction.

Instruction format

lea rX, [address_expression]
rX = 计算 [ ] 内的表达式

Behavioral characteristics

Examples

lea rbx, [rdx + rax*4 + 0x10]
; 等效于:
rbx = rdx + rax*4 + 0x10

Common uses



Relationship Graph

Loading graph...