cfenollosa_os-tutorial/14-checkpoint/boot/kernel_entry.asm
Carlos Fenollosa 418bb11305 Lesson 18
2015-02-03 19:12:51 +01:00

5 lines
186 B
NASM

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