summaryrefslogtreecommitdiff
path: root/bootloader/bootloader.asm
blob: 8009ff0c2784e60fc474148a4c8790007cac85d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[BITS 16]

;Save the first adress in with start label
start:

;Init CPU registers
mov ax, 0x0C70
mov ds, ax	;Init data segment

;Complete the MBR with nothing
times 510 - ($ - start) db 0x0

;Declare magic number
dw 0xAA55