summaryrefslogtreecommitdiff
path: root/test/load-store.s
blob: abb7e7464c2247ec4db4b23ec9633e2bb0d8b145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.org $8000

reset:
	cps
	ldx.d #$2FFFF
	txs
@clear:
	and #0
	tax
	tab
	deb
@loop:
	lsl #8
	lda #$FF
	cmp b
	beq @clear
	bra @loop

.org $FFC0
.qword reset
a
d