0 votes
in General Knowledge by (744k points)
What if we want to compute an address, but not necessarily access that address just yet?

1 Answer

0 votes
by (744k points)
 
Best answer
Use the leaq (load effective address) instruction!
The source is the complete address mode expression (Imm(Rb,Ri,S)), and the destination is any valid 8 byte register. This instructions sets the value in the dest to be the address denoted by the source expression.
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
...