From 79bd995255068a447d0fc75616a34cbaac5eb85d Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Sun, 6 May 2001 21:51:51 +0000 Subject: Et un sample... un. --- samples/hello.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 samples/hello.s (limited to 'samples/hello.s') diff --git a/samples/hello.s b/samples/hello.s new file mode 100644 index 0000000..f064dae --- /dev/null +++ b/samples/hello.s @@ -0,0 +1,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 -- cgit v1.2.3