This file contains 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
global start | |
KERNEL_BASE equ 0xFFFFC00000000000 | |
section .inittext | |
bits 32 | |
start: | |
mov esp, stack_top - KERNEL_BASE ; set up stack | |
mov edi, ebx |