mbr_asm/mbr.asm

5 lines
145 B
NASM

bits 16 ; mode 16bits
org 0x7C00 ; mbr ae loaded at 0x7C00
times 510 - ($ - $$) db 0 ; fill up to 510 with 0
dw 0xAA55 ; MBR magic number