summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-07-17 17:50:28 +0400
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-07-17 17:50:28 +0400
commitc675b3994ce5eb3dcd789c298e4ac58b91701060 (patch)
treeb1ed964699de6785333327ea7f7278de1ab945d4 /bootloader
parentcd26dde8c5928c45b5910f819b74e3eeaa0cb85f (diff)
Change commentary
Diffstat (limited to 'bootloader')
-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