Complete 8086 instruction set[LEA]

LEA

Operands: REG, memory Load Effective Address. Algorithm: REG = address of memory (offset) Generally this instruction is replaced by MOV when assembling when possible. Example: #make_COM# ORG 100h LEA AX, m RET m DW 1234h END AX is set to: 0104h. LEA instruction takes 3 bytes, RET takes 1 byte, we start at 100h, so the address of 'm' is 104h. Flags: C Z S O P A unchanged