From 96e0215f6a3e15352f5a922ab68f159f9a2ef4fa Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 22 Jan 2021 10:18:49 +0100 Subject: [PATCH] Stuff --- src/elib/convert.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elib/convert.asm b/src/elib/convert.asm index af5b421..22710e5 100644 --- a/src/elib/convert.asm +++ b/src/elib/convert.asm @@ -20,7 +20,7 @@ hexToASCII: ; convert ax into ASCII (numeric) add al, ASCII_OFFSET_NUM ; add 0x30 - cmp al + cmp al, 0x39 ; if al (char) > 9 return: mov bx, HEX_OUT