1.set ALIGN, 1<<0 #align is 1
2.set MEMINFO, 1<<1 #meminfo is 2
3.set FLAGS, ALIGN | MEMINFO
5.set CHECKSUM, -(MAGIC + FLAGS)
7.section .multiboot, "a" #a means allocatable section
21 push %ebx #second arg: ptr to multiboot info
22 push %eax #first arg: magic num (0x1BADB002)
26 cli #not very obvious, basically just continue and clear interrupts
27hang: #if it doesnt go we just halt and jmp so it doesnt stop halting