view helloworld.s16 @ 35:5a5e02d1acf1

No need to initialize name table with starting values other than zero as we copy the relevant parts during VBlank anyway
author Michael Pavone <pavone@retrodev.com>
date Sun, 03 Apr 2016 20:51:23 -0700
parents 6204c81e2933
children
line wrap: on
line source

	ldim message, r0
	ldim 0, r1
loop
	ld8 r0, r1, r2
	cmpi 0, r2
	beq done
	outi 11, r2
	addi 1, r1
	bra loop
done
	bra done
	
message:
	dc.b "Hello, world!\n", 0