diff options
author | Marvin Borner | 2021-07-10 22:45:33 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-10 22:45:33 +0200 |
commit | 91f534979f4790d5cfc0514eb110f3b1f4fb219b (patch) | |
tree | 896617b4f345f263271f4d939e49b3d28729ea04 /src/loader/ent.asm | |
parent | 4f1ae4fa4250369919a975f5568425f6791b2489 (diff) |
Reduced GDT magic numbers and added documentation
Diffstat (limited to 'src/loader/ent.asm')
-rw-r--r-- | src/loader/ent.asm | 4 |
1 files changed, 2 insertions, 2 deletions
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 |