1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
.org #$f800 MEM = $ff reset: ldx #$0 stx MEM loop: ldx MEM inx stx MEM jmp loop .org #$fffc .word reset .word $0000