Skip to content

Instantly share code, notes, and snippets.

View Techno-coder's full-sized avatar

Techno-coder

View GitHub Profile
@Techno-coder
Techno-coder / boot.asm
Last active April 13, 2020 14:49
64-bit higher-half boot script (with notes on changing KERNEL_BASE)
global start
KERNEL_BASE equ 0xFFFFC00000000000
section .inittext
bits 32
start:
mov esp, stack_top - KERNEL_BASE ; set up stack
mov edi, ebx