From 3eb71845a71604f52d81ca8c41357669d6b3aaf7 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Wed, 9 Jul 2025 11:44:22 +0200 Subject: [PATCH] hex2str: cmp -> test --- src/convert.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/convert.asm b/src/convert.asm index 095515a..87ad7b2 100644 --- a/src/convert.asm +++ b/src/convert.asm @@ -130,8 +130,8 @@ hex2str: div r8 cmp rdx, 10 jb .num - cmp r9, 0 - je .lower + test r9, r9 + jz .lower ;.upper: add rdx, 55 jmp .push