From e592ad5c96f5df53d73b54af7a20a8e3c9155c54 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Wed, 9 Jul 2025 11:56:01 +0200 Subject: [PATCH] FIX: Stack alignment in printf() --- src/console.asm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/console.asm b/src/console.asm index c38cd8d..737acd3 100644 --- a/src/console.asm +++ b/src/console.asm @@ -84,7 +84,6 @@ puts: printf: push rbp mov rbp, rsp - sub rsp, SIZE_QWORD cmp byte [rdi], EOS je .emptyStr @@ -287,6 +286,5 @@ printf: xor rax, rax .quit: - add rsp, SIZE_QWORD leave ret