; memory.inc — Memory layout constants ; OBSERVED: ELF64 flat memory model, code/rodata/data/bss/heap/stack %define HEAP_SIZE (1024 * 1024 * 4) ; 4MB heap %define STACK_SIZE (1024 * 1024) ; 1MB stack guard %define PROMPT_MAX 4096 ; max prompt length ; Bump allocator state (in BSS) ; heap_base: resq 1 ; heap_ptr: resq 1 ; heap_end: resq 1