Antwort: Re: A92: Addressing mode


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

Antwort: Re: A92: Addressing mode




Mea culpa,
next time I will clean my glasses before I read something.

But this line of assembly will work:
LEA 0(A5,D7.W),A5

So it's a bug in a68k.exe.



Bernd.Birkenbach@degussa-huels.de wrote:
>
>  I'm a newbie to 68000 assembler but If I understand
> the 'M68000 Motorola Family Programmer's Reference Manual'
> (68kpm.pdf) correctly there is no addressing mode like
> '(A5,D7.w)' for the 68000. You should look at page 215 for
> the allowed addressing modes for LEA. For the 68000 it is
> allowed only to use constant displacements with address
> registers. The newer processors allow more flexible
> ways to address the memory.

   You're wrong:  on the 68000 you have d8(An,Ix.[wl]).


  Laurent