code wiki / (root) / smoke_asm_test.nx

smoke_asm_test.nx

buildroot/runtime/smoke_asm_test.nx

715 B17 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic smoke
docsdependenciesstructsconstsfunctions

about

smoke_asm_test.nx -- run nxasm_v2 on a small RV64 asm snippet + assert that it produces non-zero output.

dependencies 2 imports · 0 importers

syscalls.nx nxasm_v2.nx smoke_asm_test.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

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