section .text main: move.l #$12428765,$8000 move.w $8002,d6 loop: add.w $8000,d6 move.b d6,$8000 cmp.b #$aa,d6 bhi.b loop end