bits 32 global _entry extern main extern quit extern current_disk section .text _entry: mov esp, stack push edx ;TODO: determine current_disk ;any further needed initialization push quit jmp main section .stack nobits alloc noexec write align=16 resb 1024 stack: