[A89] Re: assembly "translation"


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

[A89] Re: assembly "translation"




At 18:57 +0200 1/6/02, Niklas Brunlid wrote:
>  > lea     (%sp,-3840),%sp
>
>lea 3840(sp),sp

ok, so source and dest are kept in the same order?

>  > move.l  (%a0,4*memcpy),%a2
>
>move.l 4*memcpy(a0),a2
>(memcpy is a constant, right?)
>
>>  movem.l (%sp)+,%d3-%d7/%a2-%a6
>
>movem.l (sp)+,d3-d7/a2-a6
>
>--
>  / Niklas Brunlid
>Check out Prosit for the TI-89 / TI-92+ at http://prosit.ticalc.org
>Random PQF v5.1 Quote follows:
>
>"You can't go around building a better world for people. Only people
>can build a better world for people. Otherwise it's just a cage."
>         -- (Terry Pratchett, Witches Abroad)

this is what a68k tells me when trying to compile:

lesson1.asm line 15
    15       movem.l d3-d7/a2-a6,sp
                             ^ Addressing mode not allowed here.

and 15 more errors like that. any tips on how to fix this?
thanks a lot,
ra.-



Follow-Ups: References: