summaryrefslogtreecommitdiff
path: root/roms/simple_ram_test.asm
blob: 4b5e285dc65e0cd8efe283c76a7457901f7c8669 (plain)
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