From 933529c8959de11e0111966220106bdaf10f0343 Mon Sep 17 00:00:00 2001 From: ajh123 Date: Wed, 7 Jun 2023 08:37:20 +0100 Subject: [PATCH] Fix errors in x86.asm again --- src/bootloader/stage2/x86.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootloader/stage2/x86.asm b/src/bootloader/stage2/x86.asm index 800eb20..f343eb9 100644 --- a/src/bootloader/stage2/x86.asm +++ b/src/bootloader/stage2/x86.asm @@ -274,7 +274,7 @@ x86_E820GetNextBlock: LinearToSegOffset [bp + 8], es, edi, di ; es:di pointer to structure LinearToSegOffset [bp + 12], ds, esi, si ; ebx - pointer to continuationId - mov ebx, ds:[si] + mov ebx, [ds:si] mov eax, 0xE820 ; eax - function mov edx, E820Signature ; edx - signature @@ -289,7 +289,7 @@ x86_E820GetNextBlock: .IfSuccedeed: mov eax, ecx ; return size - mov ds:[si], ebx ; fill continuation parameter + mov [ds:si], ebx ; fill continuation parameter jmp .EndIf .Error: