xlang/test/hello.ssa

10 lines
191 B
Plaintext

# Define the string constant.
data $str = { b "hello world", b 0 }
export function w $main() {
@start
# Call the puts function with $str as argument.
%r = w call $puts(l $str)
ret 0
}