[comp.sys.amiga.tech] A68k bug?

WTW101@PSUVM.BITNET (Bill Warner) (08/11/89)

Consider the following code fragments:

Start:      dc.b 'hello'
End:        CNOP 0,2

and

Start:      dc.b 'hello'
End:
            CNOP 0,2


The same?  Nope.    I think they should be.  I feel that 'End' should be
resolved before the  address is EVEN'd.  This would make it consistent, as if
an op-code had been there instead of 'CNOP 0,2'.  Is this a bug?  Can someone
explain to me why this is not a bug?    Thanks!

                                               Chris
                                               CJC@psuecla

WTW101@PSUVM.BITNET (Bill Warner) (08/17/89)

I think I have found a bug in Mr. Gibbs (v 2.42) macro assembler. Consider:

          EVEN
Label1\@  dc.b 'hello'
Label2\@  CNOP 0,2
---and----
          EVEN
Label1\@  dc.b 'hello'
Label2\@
          CNOP 0,2



Label2\@ in the first example gets the value of the address AFTER the address
is EVEN'ed.  The second example works properly, Label2\@ gets the value BEFORE
the address is EVEN'ed.    Is this a bug?

                                    Chris
                                    CJC@psuecla