mov X, 0 -> xor X, X - Fixes #3
This commit is contained in:
@@ -141,7 +141,7 @@ printf:
|
||||
mov rcx, 1
|
||||
jmp %%movr8 ;nice label name isn't it?
|
||||
%%padSpaces:
|
||||
mov rcx, 0
|
||||
xor rcx, rcx
|
||||
%%movr8:
|
||||
mov r8, %2
|
||||
call %3
|
||||
@@ -176,7 +176,7 @@ printf:
|
||||
.process:
|
||||
cmp byte [rdi], EOS
|
||||
je .wrapup
|
||||
mov r9b, 0
|
||||
xor r9b, r9b
|
||||
cmp r10, printfBuffLen-1
|
||||
je .flushBuffer
|
||||
.flushReturn_0:
|
||||
|
Reference in New Issue
Block a user