1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
.org $8000 reset: cps lds.d #$3FFFF loop: lea $10 inc (e) lda (e) lea ($FFC0) bra loop .org $FFC0 .qword reset a ;l a ;.org reset ;v ;q d