summaryrefslogtreecommitdiff
path: root/samples/hello.s
blob: f064daee69f7aef92086fa952ce556eef217a827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.data
Hello	DS	"Hello World!\n"

.text
Print:	MOV,	[0xffffff04], Hello
	RET
.start
	MOV	R1, 10
BOUCLE:	CALL	Print
	SUB	R1, 1
	JNE	R1, R0, BOUCLE
	HALT