From e00895105c812534cdc19eef9b25e93995b71ded Mon Sep 17 00:00:00 2001 From: Kwarde Date: Sun, 20 Jul 2025 23:48:07 +0200 Subject: [PATCH] utoa: call clampu instead of clamp (since utoa=>unsigned to ascii) --- src/convert.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/convert.asm b/src/convert.asm index 5f10c7d..eb04ddb 100644 --- a/src/convert.asm +++ b/src/convert.asm @@ -1,6 +1,7 @@ %include "src/constants.asm" extern clamp +extern clampu section .bss cnvtBuff resb 67 @@ -368,7 +369,7 @@ utoa: mov rdi, rdx xor rsi, rsi mov rdx, 64 - call clamp + call clampu mov r14, rax ; Store padding character mov rdi, ' '