about summary refs log tree commit diff stats
path: root/linux/hello.mu
blob: ac280b8a6f8005f25d2fee534ec4edd76670769f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Meaningless conventional example.
#
# To run:
#   $ ./translate hello.mu
#   $ ./a.elf

fn main -> _/ebx: int {
  print-string 0/screen, "Hello world!\n"
  return 0
}