Skip to content

Instantly share code, notes, and snippets.

@Vimos
Created April 10, 2013 05:02
Show Gist options
  • Select an option

  • Save Vimos/5351936 to your computer and use it in GitHub Desktop.

Select an option

Save Vimos/5351936 to your computer and use it in GitHub Desktop.
leal
The load effective address instruction leal is actually a variant of the movl instruction. It has the form of an instruction that reads from memory to a register, but it does not reference memory at all. Its first operand appears to be a memory reference, but instead of reading from the designated location, the instruction copies the effective address to the destination. The destination operand must be a register.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment