code wiki / _hdl_build / _min42.nx

_min42.nx source

↩ module page · 3 lines · 231 B

1// _min42.nx -- the minimal possible program: main returns 42. Smallest x86 surface (mov/ret + _start 2// stub) to prove the sovereign assemble+link pipeline before testing the full syscall surface. 3func main() -> i64 { return 42 }