fixed my dumbassary

This commit is contained in:
2025-06-21 20:45:30 +03:00
parent d59a5c8b39
commit 15311ca7d1
7 changed files with 7 additions and 10 deletions

View File

@@ -18,14 +18,13 @@ clear_heap_block_loop:
mov byte ptr [rdi+rcx], 0
inc rcx
cmp rcx, rsi
jle clear_heap_block_loop
jl clear_heap_block_loop
ret
# rdi = size in octets
brk_alloc:
push rbx
push r12
inc rdi # so you get all of the requested space
mov rbx, rdi
mov rax, 12