aboutsummaryrefslogtreecommitdiff
path: root/src/example/c64.asm
blob: e627e321cd300da5b9abad10056e3ae72119d781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	; Simple example C64 code
	;

	cpu 6502

	option	codepage,cbm

	option	output-file,c64.t64
	option	output-format,t64

	org $820

	lda	#0
	clc
loop:
	sta	53280
	adc	#1
	and	#$0f
	jmp	loop