Bootloader crashes when switching from 16-bit real mode to 32-bit protected mode
Posted: Mon Feb 09, 2026 3:57 pm
I am writing a my OS, bootloader. My 16-bit bootloader runs, but when I switch to 32-bit protected mode and jump to my kernel at 0x00100000, it crashes or returns to BIOS. I attached the assembly code. I'm using NASM and QEMU.