.section .text .globl _start _start: # Set up stack pointer (adjust as you want) la sp, stack_top # Call rust_main (extern function) call rust_main # Infinite loop after kmain returns 1: j 1b .section .bss .align 12 # 2^12 = 4096 bytes stack alignment .space 0x4000 # 16KB stack stack_top: