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