A89: Re: Back to arrays... =(
[Prev][Next][Index][Thread]
A89: Re: Back to arrays... =(
well, basically, you were trying to reference an immediate data to an
immediate address.. cant do.
it tryes to convert atht instruction (i think) to a moveq.l but that doesnt
support immediate addressing.
i dunno
i might not be making any sense whatsoever... :)
kaus
----- Original Message -----
From: Miles Raymond <m_rayman@bigfoot.com>
To: <assembly-89@lists.ticalc.org>
Sent: Tuesday, July 27, 1999 11:46 PM
Subject: 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/
>
>
References: