about summary refs log tree commit diff stats
path: root/linux/hello.mu
diff options
context:
space:
mode:
Diffstat (limited to 'linux/hello.mu')
-rw-r--r--linux/hello.mu10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/hello.mu b/linux/hello.mu
new file mode 100644
index 00000000..9e8fdb6f
--- /dev/null
+++ b/linux/hello.mu
@@ -0,0 +1,10 @@
+# Meaningless conventional example.
+#
+# To run:
+#   $ ./translate_mu apps/hello.mu
+#   $ ./a.elf
+
+fn main -> _/ebx: int {
+  print-string 0/screen, "Hello world!\n"
+  return 0
+}