str terminal_namespace = "/dev/term/0"; str new_line = "\n"; str hello = "nuqneH 'u'?"; function main () { str msg; load_address hello -> msg; call pln (msg); exit 0; } function pln (str message) { ptr term; int msg_length; str nl; int nl_length; int mode; str term_ns; load_immediate 0 -> mode; load_address terminal_namespace -> term_ns; syscall OPEN term_ns mode term; string_length message -> msg_length; syscall WRITE term message msg_length; load_address new_line -> nl; string_length nl -> nl_length; syscall WRITE term nl nl_length; return; }