Re: A89: adding to an address


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

Re: A89: adding to an address




lea some_matrix(pc),a0
adda.w d0,a0

That is the correct way... btw, you can just leave it as a add and the
a68k will make it adda.w

S43R80@aol.com wrote:
> 
> In a message dated 00-01-21 17:53:48 EST, you write:
> 
> > >  lea some_matrix,a0
> >  put "lea some_matrix(pc),a0" here
> >  -nike
> well...your right...i did for some reason forget the (pc)...but strangely
> enough it still does not seem to be retrieving the byte that i want :(...what
> would the correct way to add to the address reg be?

-- 
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: