Quote:
Originally Posted by meynaf
Try this then :
Code:
move.l #$00007fff,a0
move.l #$0000ffff,a1
add.w a0,a1 ; a1=00017ffe
|
Hm. Well, source is unsigned so this doesn't really test it. But move.l #$ffff7fff,a0 gives the same result, so I'm convinced.
adda.w sign extends source and performs a full 32-bit add.