A89: Back to arrays... =(


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

A89: Back to arrays... =(




Wow, it's been a long time since I actually posted a letter instead of a
reply...

Well, I tried a program with :

    ...
    move.w    #4,2(array)
    move.w    #4,4(array)
    lea       array,a6
    ...
array
    ds.b      20
    ...

and the program won't compile.  So I tried:

    ...
    lea       array,a6
    move.w    #4,2(a6)
    move.w    #4,4(a6)
    ...
array
    ds.b      20
    ...

and that works.  I just want to know why I have to use a register for it to
work.  Thanks.

-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: KilIer2 (kilier2)
http://www.bigfoot.com/~m_rayman/



Follow-Ups: