summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootloader/bootloader.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootloader/bootloader.asm b/bootloader/bootloader.asm
index 8009ff0..25b9a46 100644
--- a/bootloader/bootloader.asm
+++ b/bootloader/bootloader.asm
@@ -1,10 +1,11 @@
+;Start 16 BITS bootloader program
[BITS 16]
-;Save the first adress in with start label
+;Save the first adress with a label to complete the MBR at the end.
start:
;Init CPU registers
-mov ax, 0x0C70
+mov ax, 0x0C70 ;Put bootloader adress in ax register
mov ds, ax ;Init data segment
;Complete the MBR with nothing