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