summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <>2001-05-06 21:51:51 +0000
committerPixel <>2001-05-06 21:51:51 +0000
commit79bd995255068a447d0fc75616a34cbaac5eb85d (patch)
treef1f5cd6277dbd8585ea0af6e4734adfb464f401f
parentd3d5c69620a13a40aab0b55bc466621f09f89553 (diff)
Et un sample... un.
-rw-r--r--samples/hello.s12
1 files changed, 12 insertions, 0 deletions
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