This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Using Nasm To Compile | |
; Declare constants for the multiboot header. | |
MBALIGN equ 1 << 0 ; align loaded modules on page boundaries | |
MEMINFO equ 1 << 1 ; provide memory map | |
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field | |
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header | |
CHECKSUM equ -(MAGIC + FLAGS) ; checksum of above, to prove we are multiboot | |
; Declare a multiboot header that marks the program as a kernel. These are magic | |
; values that are documented in the multiboot standard. The bootloader will |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am longofrancoale on github. | |
* I am rnjhbmnv (https://keybase.io/rnjhbmnv) on keybase. | |
* I have a public key ASBHiebq23kzCZVMzNCXWNdTbyFHy8HuIKpqJBT6iAI6ggo | |
To claim this, I am signing this object: |