diff options
Diffstat (limited to 'apps/hello.mu')
-rw-r--r-- | apps/hello.mu | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/hello.mu b/apps/hello.mu new file mode 100644 index 00000000..a305edf0 --- /dev/null +++ b/apps/hello.mu @@ -0,0 +1,10 @@ +# Meaningless conventional example. +# +# To run: +# $ ./translate_mu apps/hello.mu +# $ ./a.elf + +fn main -> exit-status/ebx: int { + print-string 0, "Hello world!\n" + exit-status <- copy 0 +} |