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

	cpu 6502

	option	codepage,cbm

	option	output-file,vic20.prg
	option	output-format,prg
	option	prg-start,start
        option  prg-system,vic20

	org $1100

main:
	lda	#0
	clc
loop:
	sta	36879
	adc	#1
	jmp	loop

start:
	jmp	main