View Single Post
Old 22 November 2019, 11:49   #14
hooverphonique
ex. demoscener "Bigmama"

 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,028
Quote:
Originally Posted by geldo79 View Post
And if i use instead

move.w $FFFF,(a0,d1.l)

or

move.l $FFFFFFFF,(a0,d1.l)

my program crashes. Why?

$FFFF/$FFFFFFFF are odd addresses - you can only access even addresses with word or longword size.
As mentioned above, you probably meant #$FFFF, but even then it would crash if a0+d1 is odd.

on 68020+ odd addressing for word/long is allowed.
hooverphonique is offline  
 
Page generated in 0.04176 seconds with 11 queries