.code16 ;generate 16-bit code
.text ;executable code location
.globl _start;
_start:
. = _start + 510
.byte <b>0x55</b> ;append boot signature
.byte 0xaa ;append boot signature
;nasm directive - 32 bit
bits 32
section .text
;multiboot spec
align 4
dd <b>0x1BADB002</b> ;magic
dd 0x00 flags
dd -(0x1BADB002 + 0x00)
0x1BADB002 и 0x550xaa, Какая разница в загрузчике?