I am trying so hard to figure out what this does
.set ALIGN, 1<<0 # align loaded modules on page boundaries
.set MEMINFO, 1<<1 # provide memory map
.set FLAGS, ALIGN | MEMINFO # this is the Multiboot 'flag' field
.set MAGIC, 0x1BADB002 # 'magic number' lets bootloader find the header
.set CHECKSUM, -(MAGIC + FLAGS) # checksum of above, to prove we are multiboot
So i have all these comment lines but I can't find why is this. How the first set align loaded modules couse the result for ALIGN global variable is 1 and MEMINFO is 2. I can't find out.