From 1a1ab91e7728e59305361dbf8b97030ded472ae5 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 15 Aug 2020 21:43:52 -0700 Subject: 6717 --- apps/hello.mu | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 apps/hello.mu (limited to 'apps') 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 +} -- cgit 1.4.1-2-gfad0