diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-08-15 21:43:52 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-08-15 21:43:52 -0700 |
commit | 1a1ab91e7728e59305361dbf8b97030ded472ae5 (patch) | |
tree | cefc02b5226d8cc80cbab6fa22b3e5245931a164 /apps | |
parent | 828bc32057511bc88bd651f2e7c9cf19706378d3 (diff) | |
download | mu-1a1ab91e7728e59305361dbf8b97030ded472ae5.tar.gz |
6717
Diffstat (limited to 'apps')
-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 +} |