diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/hello.s | 12 |
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 |