mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-06 07:03:21 +03:00
19 lines
224 B
NASM
19 lines
224 B
NASM
extern bss_begin
|
|
extern bss_end
|
|
extern entry
|
|
|
|
section .entry
|
|
|
|
global _start
|
|
_start:
|
|
cld
|
|
|
|
; Zero out .bss
|
|
xor al, al
|
|
mov edi, bss_begin
|
|
mov ecx, bss_end
|
|
sub ecx, bss_begin
|
|
rep stosb
|
|
|
|
jmp entry
|