summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/main.asm3
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