From 881d88ec4e3964a8c2bf2bbec4f48db6438046a6 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Wed, 9 Jul 2025 11:35:03 +0200 Subject: [PATCH] hex2str: Fix logic for arg uppercase (0=tolower, anything else=upper) --- src/convert.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/convert.asm b/src/convert.asm index b945631..095515a 100644 --- a/src/convert.asm +++ b/src/convert.asm @@ -130,8 +130,8 @@ hex2str: div r8 cmp rdx, 10 jb .num - cmp r9, 1 - jne .lower + cmp r9, 0 + je .lower ;.upper: add rdx, 55 jmp .push