; since we have no stack we have to create one for the OS global loader MAGIC_NUMBER equ 0x1BADB002 FLAGS equ 0x0 CHECKSUM equ -MAGIC_NUMBER section .text ; align all instructions to 4 byte boundary by the x86 instruction set law align 4 ; dropping our magic and other things into memory dd MAGIC_NUMBER dd FLAGS dd CHECKSUM loader: mov eax, 0X1234ABCD .loop: jmp .loop