Re: A89: Re: Address Error


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

Re: A89: Re: Address Error




>>lea 10(a7),a7
>
>lea 10(a7),a7 isn't the same as adding 10 to the stack pointer. (a7) is not
>a7.  change it to this and you should be all right: add.l #10,a7

No ! lea	10(a7),a7 does exactly the same as add.l #10,a7 !!
because with lea, it calculates the adress 10(a7), which is a7 + 10 and
then loads it into a7.

Xavier VASSOR
---The Doors Team
E-mail:xvassor@mail.dotcom.fr
Doors Homepage: http://www.altern.org/doors
ICQ:10241721


References: