From 336a178d30e3cde255ff08cdcccb4a2d26cc1eb5 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Sun, 20 Jul 2025 23:55:01 +0200 Subject: [PATCH] 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 e00895105c812534cdc19eef9b25e93995b71ded. --- src/convert.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/convert.asm b/src/convert.asm index eb04ddb..5f10c7d 100644 --- a/src/convert.asm +++ b/src/convert.asm @@ -1,7 +1,6 @@ %include "src/constants.asm" extern clamp -extern clampu section .bss cnvtBuff resb 67 @@ -369,7 +368,7 @@ utoa: mov rdi, rdx xor rsi, rsi mov rdx, 64 - call clampu + call clamp mov r14, rax ; Store padding character mov rdi, ' '