Revert "utoa: call clampu instead of clamp (since utoa=>unsigned to ascii)" -- it's for padding length, max 64, no unsigned tests needed...
This reverts commit e00895105c
.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
%include "src/constants.asm"
|
%include "src/constants.asm"
|
||||||
|
|
||||||
extern clamp
|
extern clamp
|
||||||
extern clampu
|
|
||||||
|
|
||||||
section .bss
|
section .bss
|
||||||
cnvtBuff resb 67
|
cnvtBuff resb 67
|
||||||
@@ -369,7 +368,7 @@ utoa:
|
|||||||
mov rdi, rdx
|
mov rdi, rdx
|
||||||
xor rsi, rsi
|
xor rsi, rsi
|
||||||
mov rdx, 64
|
mov rdx, 64
|
||||||
call clampu
|
call clamp
|
||||||
mov r14, rax
|
mov r14, rax
|
||||||
; Store padding character
|
; Store padding character
|
||||||
mov rdi, ' '
|
mov rdi, ' '
|
||||||
|
Reference in New Issue
Block a user