Re: A92: A stupid question...
[Prev][Next][Index][Thread]
Re: A92: A stupid question...
At 11:58 24.03.1999 +0100, you wrote:
>
>I was wondering why when I compile a prog I made, there's an error like :
>
>" add.b #1,a0"
> ^
> L wrong size operand.
>
>Because when I read any guide about 68k asm, it's written that the length of
>the data can be :
>a byte, a word, a longword.
>
>I really don't see why. Does anyone have an explanation ?
>I just want to know, because when I replace my ".b" by a ".w" everything
>goes well, and I could just do like this each time, but I would really like
>to understand.
>
>Thanks.
>
>VIVES Fabien
>vives@NOSPAMwanadoo.fr
>( Enlevez NOSPAM pour me repondre )
>( Get NOSPAM off to answer me )..
>ICQ : 16950211
>
You should use adda.w #1,a0 or lea 1(a0),a0
--
MXM-TriX
http://mxm.ticalc.org/
Follow-Ups: