A92: Constants and immediate values + movem


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

A92: Constants and immediate values + movem



If I define a constant and use it, what is the difference between

   add.l	CONSTANT,a1

and

   add.l	#CONSTANT,a1

Is the constant added as a hex value on the first and integer on the second?

Also, what's the default datalength (byte/word/longword) when using "movem"
with dataregisters? It's not longword, found that out by trial and error ;-(


Niklas Brunlid
PQF Quote follows:

Of course he was all in favour of Armageddon in *general* terms.
        -- (Terry Pratchett & Neil Gaiman, Good Omens)


Follow-Ups: