;Start 16 BITS bootloader program [BITS 16] ;Save the first adress with a label to complete the MBR at the end. start: ;Init CPU registers mov ax, 0x0C70 ;Put bootloader adress in ax register mov ds, ax ;Init data segment ;Complete the MBR with nothing times 510 - ($ - start) db 0x0 ;Declare magic number dw 0xAA55