Fix stack pointer setup

This commit is contained in:
2025-10-02 11:52:27 +02:00
parent 646e246ec6
commit 2f9a6b5548

View File

@@ -20,7 +20,7 @@ Start:
movw %ax, %es movw %ax, %es
movw %ax, %ss movw %ax, %ss
movw $0x7C00, %bp movw $0x7C00, %bp
movw %bp, %sp leaw -16(%bp), %sp
sti sti
/* Relocate MBR to 1FE0:7C00 */ /* Relocate MBR to 1FE0:7C00 */