How do I enter 32-bit protected mode in NASM assembly?
问题 I'm learning x86 assembly, and I'm trying to make a toy operating system in NASM, but I don't understand some things. I made a bootloader that is successfully boots my kernel: Loads 14 sectors from the diskette which contains the kernel file; Search a file in these sectors labeled kernel.feo ; Loads that file into the memory to the offset 0x2000 ; Executes the kernel using a far jump jmp 0x2000:0x0000 . So I have the kernel code located at 0x2000:0 in the memory. CS might be properly set