summaryrefslogtreecommitdiff
path: root/roms/simple.asm
blob: 7e57ee49ef86db93fdcce107545c03d7c0b52272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 .org #$f800

reset:
 ldx #$FF
 txs
 lda #42
 lda $0
 ldx #41
 ldx $1
 jsr sub1

fini:
 jmp fini

sub1:
 ldy #40
 ldy $2
 rts
 
 .org #$fffa
 .word $0
 .word reset
 .word $0