You are here : assembly8086LEA

LEA - 8086

Load Effective Address.

Algorithm:  REG = address of memory (offset)


Syntax

LEA REG,Memory


Example

.model small
.data
  num1 dw 1234h
  num2 dw 5678h
  ...
.code
  ...
  ...
  LEA SI,num1	;Loads Address of num1 into SI
  LEA DI,num2	;Loads Address of num2 into DI
  ...
  ...
  end


Output / Return Value


Limitations


Alternatives / See Also


Reference