code wiki / _hdl_build / nx_analyst_markets.nx
nx_analyst_markets.nx
buildroot/runtime/_hdl_build/nx_analyst_markets.nx
about
nx_analyst_markets.nx -- AN10 RUNNER: evaluate knowledge/analyst/ac_markets.cmp (overseas +
wholesale lens) and emit the cross-border report. Self-checking against hand-computed values;
durable Examiner anchor ANALYST-MKT. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_market_cmp.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 6 | const K_MAGIC_191666: i64 = 191666 |
| 7 | const K_MAGIC_32000: i64 = 32000 |
| 8 | const K_MAGIC_1602: i64 = 1602 |
| 9 | const K_MAGIC_44800: i64 = 44800 |
| 10 | const K_MAGIC_175000: i64 = 175000 |
| 11 | const K_MAGIC_1024: i64 = 1024 |
| 12 | const K_MAGIC_4000: i64 = 4000 |
| 13 | const K_MAGIC_4571: i64 = 4571 |
| 14 | const K_MAGIC_125000: i64 = 125000 |
| 15 | const K_MAGIC_28000: i64 = 28000 |
| 16 | const K_MAGIC_10036: i64 = 10036 |
functions
| 18 | func am_wf(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 19 | func am_wn(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(fd,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(fd,bb,k); return 0 } |
| 21 | func am_label(i: i64) -> *u8 called by 1: main |
| 28 | func main() -> i64 |