『
; Copyright (C) 2020 Arthur Chokhlenko
; License: GNU version 3 or higher https://www.gnu.org/licenses/gpl-3.0.ru.html
bits 32
section .text
;multiboot spec
align 4
dd 0x1BADB002
dd 0x00
dd - (0x1BADB002 + 0x00)
global start
extern kmain
start:
cli
mov esp, stack_space
call kmain
hlt
section .bss
resb 8192
stack_space: