This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section .text | |
bits 32 ; GRUB starts us in 32-bit protected mode | |
; Aligns the machine code to a 4-byte boundary | |
align 4 | |
; Makes the `start` symbol visible to the linker | |
global start | |
extern kmain ; kmain is defined in our C code |