Anonymous user
Multiboot1 Bare Bones with NASM: Difference between revisions
no edit summary
[unchecked revision] | [unchecked revision] |
m (Fixed alignment) |
No edit summary |
||
Line 7:
<source lang="asm">
; Declare constants for the multiboot header.
MBALIGN equ 1 <<
MEMINFO equ 1 <<
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
|