From b89bec88a56b81d3524ed082db9796ef3169b060 Mon Sep 17 00:00:00 2001 From: A404M Date: Thu, 6 Feb 2025 10:34:20 +0330 Subject: prepairing to have better functions fix bug --- stdlib/main.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/main.asm b/stdlib/main.asm index ac8bcea..0733e1c 100644 --- a/stdlib/main.asm +++ b/stdlib/main.asm @@ -79,8 +79,9 @@ macro funCall id, name { segment readable executable entry _start -; rax = the number +; rdi = the number print_u64: + mov rax,rdi mov rcx, rsp mov rbx, 10 -- cgit v1.2.3