bits 32 section .multiboot align 4 dd 0x1BADB002 dd 0x00 dd - (0x1BADB002 + 0x00) section .text global start extern kernel_main ; We will define this in C start: cli mov esp, stack_top call kernel_main hlt section .bss stack_bottom: resb 16384 stack_top: