1[map all]
2; Memory below 0800h is reserved for the BIOS and the MBR
3BSS_START       equ 0800h
4
5; PXELINUX needs lots of BSS, so it relocates itself on startup
6;%if IS_PXELINUX
7TEXT_START      equ 9000h
8;%else
9;TEXT_START      equ 7C00h
10;%endif
11
12;
13; The various sections and their relationship
14;
15org TEXT_START
16
17times 0x100 db 0x3
18 
19section .earlybss nobits start=BSS_START
20resb 0x100
21section .bcopy32  align=16 follows=.data vfollows=.earlybss
22times 0x100 db 0x1
23section .bss      nobits align=256 vfollows=.bcopy32
24resb 0x100
25 
26section .text     start=TEXT_START
27section .data     align=16 follows=.text
28times 0x100 db 0x2
29
30section .latebss  nobits align=16 follows=.bcopy32
31resb 0x100
32