The simplest way to clear the upper word of d1 is: AND.L #$0000FFFF,d1 (as far as I can tell) -Noah Stein