CarsonOS3/src/kernel/bootstrap.s
2026-10-20 09:41:27 -04:00

8 lines
234 B
ArmAsm
Executable file

[bits 32]
[extern main] ; Define calling point. Must have same name as kernel.c 'main' function
[global _start]
_start:
mov al, 0x41
out 0xe9, al
call main ; Calls the C function. The linker will know where it is placed in memory
ret