code wiki / (root) / nx_test_many_params.nx

nx_test_many_params.nx

buildroot/runtime/nx_test_many_params.nx

855 B24 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic test
docsdependenciesstructsconstsfunctions

about

nx_test_many_params.nx -- proves nxc2 now handles >8 function params. Calls a 10-arg function: first 8 in a0-a7, last 2 on the stack. Expected: sum_10(1,2,3,4,5,6,7,8,9,10) = 55.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_test_many_params.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sum_10

structs

none

consts

none

functions

15func sum_10(a: nx_int, b: nx_int, c: nx_int, d: nx_int, e: nx_int,
called by 1: main
20func main() -> nx_exit
calls 1: sum_10