8 lines
234 B
ArmAsm
Executable file
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
|