program Project1 {
section module {
}
section data {
int rax = 0
ptr arg0 = null
string str_0 = "hey there"
string str_1 = "Hello world: "
string fmt_str = "%s "
string newline = "\n"
ptr hello_world_s = null
}
section code {
start:
mov arg0, str_0
call PROC_hello_world
done
function PROC_hello_world:
mov hello_world_s, arg0
print fmt_str, str_1
print fmt_str, hello_world_s
print newline
PROC_END_hello_world:
ret
}
}