Files
os-tutorial/13-kernel-barebones/kernel_entry.asm
2014-10-15 19:00:21 +02:00

5 lines
185 B
NASM

[bits 32]
[extern main] ; Define calling point. Must haveSame name as kernel.c 'main' function
call main ; Calls the C function. The linker will know where it is placed in memory
jmp $