Re: A89: Re: Easy question
[Prev][Next][Index][Thread]
Re: A89: Re: Easy question
Right before the label for vid_handle place a "even", this directs the
assemble to align this to a even address. Also, usually you can avoid
this by placing all the dc.b's below anything that has to be even
aligned.
KeysDezes@aol.com wrote:
>
> And how exactly do I fix that?
>
> In a message dated 12/29/99 11:25:12 AM Eastern Standard Time,
> lexlugger@dethstar.de writes:
>
> > That's easy. vid_handle must be at an even address.
> >
> > -----Original Message-----
> > From: KeysDezes@aol.com <KeysDezes@aol.com>
> > To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
> > Date: Wednesday, December 29, 1999 14:02
> > Subject: A89: Easy question
> >
> >
> > >
> > >Here's an easy one and I know I'm going to feel stupid when I find out
> > what's
> > >wrong. I'm trying to use a screen buffer to move a sprite around the
> > screen.
> > > But I get an alignment error when trying to assemble on the following two
> > >lines:
> > >
> > > move.w d0,vid_handle
> > >
> > > and
> > >
> > > move.w vid_handle,-(a7)
> > >
> > >What am I doing wrong?
> > >
> > >
> > >
>
> Grant Elliott
> <A
> HREF="http://www.crosswinds.net/~proganon">Programmers Anonymous</A>
--
Scott "_Wrath_" Dial
wrath@calc.org
ICQ#3608935
TimeCity AI Guy II - www.timecity.org
Member of TCPA - tcpa.calc.org
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html
References: