code wiki / (root) / smoke_nxasm_demo2.nx

smoke_nxasm_demo2.nx

buildroot/runtime/smoke_nxasm_demo2.nx

958 B16 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

Same as smoke_nxasm_demo.nx but with the full directive header nxc2 emits. Expect 72 still (directives don't emit code).

dependencies 2 imports · 0 importers

syscalls.nx nxasm_v2.nx smoke_nxasm_demo2.nx

imports: syscalls.nxnxasm_v2.nx

imported by: nobody (leaf or entry point)

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

main alloc assemble alloc assemble_pass next_tok lex_one is_space asm_is_digit is_hex asm_is_digit ↻ hexv asm_is_alpha skip_to_newline label_define sys_write s_eq5 handle_word expect_int next_tok ↻ emit_u32 next_tok ↻ handle_byte expect_int ↻ emit_byte next_tok ↻ handle_skip expect_int ↻ emit_byte ↻ s_eq6 handle_asciz next_tok ↻ emit_byte ↻ assemble_mnemonic parse_j_label next_tok ↻ sys_write ↻ enc_j label_find label_eq

structs

none

consts

none

functions

6func main() -> i64 {
calls 2: allocassemble