view helloworld.s16 @ 25:fb14515266f4

Implemented timer and timer interrupts. Added get/setvbr instructions. Fixed assembler bug. Moved mnemonics into a separate source file
author Michael Pavone <pavone@retrodev.com>
date Thu, 31 Mar 2016 23:25:52 -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