Re: A89: Stupid Question


[Prev][Next][Index][Thread]

Re: A89: Stupid Question




lea 10(a7),a7 means load effective address of the address stored in a7 plus 10
into a7.

you can use the construction xx(An) with a lot of instructions. it means always
"the address stored in An plus xx"

//Olle

Daniel Walls wrote:
> 
> Which is more efficient for cleaning up the stack...
> 
> add.l #10,a7
>       ..or..
> lea 10(a7),a7
> 
> and I know they both do the same thing,
> but how does lea(a7),a7 work?  I know what it does,
> but what does it mean?
> 
> Lazy way to 68k,
> - Daniel Walls
> flinn@mindspring.com


References: