Assembly-Guidebook

Load Effective Address

Syntax

LEA REG, MEMORY

Example 1

MOV BX, 35h
MOV DI, 12h
LEA SI, [BX + DI] ; SI = 35h + 12h = 47h

NOTE The integrated 8086 assembler automatically replaces LEA with a more efficient

Exapmle 2

org 100h
LEA AX, m ; Offset of m
RET
m DW 1234h
END