From 91f534979f4790d5cfc0514eb110f3b1f4fb219b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 10 Jul 2021 22:45:33 +0200 Subject: Reduced GDT magic numbers and added documentation --- src/loader/ent.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/loader/ent.asm') diff --git a/src/loader/ent.asm b/src/loader/ent.asm index c518aad..87b5e53 100644 --- a/src/loader/ent.asm +++ b/src/loader/ent.asm @@ -20,10 +20,10 @@ _start: lgdt [gdt] ; Load GDT - jmp 0x18:.reload_cs + jmp 0x18:.reload_cs ; Use third GDT segment for code .reload_cs: - mov eax, 0x20 + mov eax, 0x20 ; Use fourth GDT segment for data/other mov ds, ax mov es, ax mov fs, ax -- cgit v1.2.3