Skip to content

Instantly share code, notes, and snippets.

@itto-ki
Created August 4, 2018 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itto-ki/89ab43b8a6a05adeab304d4d8128892e to your computer and use it in GitHub Desktop.
Save itto-ki/89ab43b8a6a05adeab304d4d8128892e to your computer and use it in GitHub Desktop.
section .multiboot_header
header_start:
dd 0xe85250d6 ; magic number
dd 0 ; architecture (i386)
dd header_end - header_start ; header size
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) ; checksum
; required end tag
dw 0 ; type
dw 0 ; flags
dd 8 ; size
header_end:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment