code wiki / (root) / nx_feg_t1.nx

nx_feg_t1.nx source

↩ module page · 11 lines · 277 B

1// nx_feg_t1.nx -- Outputs "FLGATE hello=7" followed by a newline and exits. 2import "nx_syscalls.nx" 3import "nx_lib_std.nx" 4 5func main(argc: i64, argv: *i64) -> i64 { 6 std_puts("FLGATE hello=" as *u8) 7 std_pdec(7) 8 std_puts("\n" as *u8) 9 sys_exit(0) 10 return 0 11}