cfenollosa_os-tutorial/15-video-ports/boot/kernel_entry.asm
Carlos Fenollosa c8db77fea9 Lesson 18
2015-02-03 19:13:13 +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 $