summaryrefslogtreecommitdiff
path: root/astartup.asm
diff options
context:
space:
mode:
authorJohn van Groningen2006-12-13 15:23:55 +0000
committerJohn van Groningen2006-12-13 15:23:55 +0000
commit9227a64c30934f3cc56d02ed9f96e0cdbecae612 (patch)
treecdf96487578c0b724fc7103f86f6b70d193b4b36 /astartup.asm
parentport to 64 bits windows (diff)
store number of values in xmm registers in rax before varargs c call of sprintf
on 64 bit linux
Diffstat (limited to 'astartup.asm')
-rw-r--r--astartup.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/astartup.asm b/astartup.asm
index 0d126dd..834dca6 100644
--- a/astartup.asm
+++ b/astartup.asm
@@ -1690,6 +1690,7 @@ RtoAC:
mov r14,rdi
lea rsi,printf_real_string
lea rdi,sprintf_buffer
+ mov rax,1
call sprintf
mov rsi,r13
mov rdi,r14