.org #$f800 MEM = $ff reset: ldx #$0 stx MEM loop: ldx MEM inx stx MEM jmp loop .org #$fffc .word reset .word $0000