about summary refs log tree commit diff stats
path: root/apps/ex3.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ex3.mu')
-rw-r--r--apps/ex3.mu9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/ex3.mu b/apps/ex3.mu
index aaef1175..efe6a317 100644
--- a/apps/ex3.mu
+++ b/apps/ex3.mu
@@ -1,3 +1,12 @@
+# Add the first 10 numbers, and return the result in the exit code.
+#
+# To run:
+#   $ ./translate_mu apps/browse.mu
+#   $ ./a.elf
+# Expected result:
+#   $ echo $?
+#   55
+
 fn main -> result/ebx: int {
   result <- copy 0
   var i/eax: int <- copy 1