diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-06 10:34:20 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-06 10:34:20 +0330 |
commit | b89bec88a56b81d3524ed082db9796ef3169b060 (patch) | |
tree | 1be62c1568328066640f1fdd6737c17607df0df4 /stdlib/main.asm | |
parent | f5f8e53b9d4c7ad2bd635a0b2273cd2fa90ff8b4 (diff) |
prepairing to have better functions
fix bug
Diffstat (limited to 'stdlib/main.asm')
-rw-r--r-- | stdlib/main.asm | 3 |
1 files changed, 2 insertions, 1 deletions
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 |