Re: A89: lea


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

Re: A89: lea




In a message dated 00-01-24 15:07:21 EST, you write:

> what are the differences between doing:
>  lea sprites(pc),a0
>  
>  and 
>  
>  move.l sprites,a0
>  
>  where 'sprites' is the starting address of a table of various sprites...
>  
>  ie:
>  sprites:
>   dc.l 0
>   dc.l sprite1
>   dc.l sprite2
>   dc.l ...
>  
i suppose the 1st gives the address and the latter gives the value at the 
address...but i thought when getting the value at an address you are supposed 
to use ()...ie move.l (sprites),a0


Follow-Ups: