pull/4/head
E. Almqvist 4 years ago
parent d21dabce7d
commit 96e0215f6a
  1. 2
      src/elib/convert.asm

@ -20,7 +20,7 @@ hexToASCII:
; convert ax into ASCII (numeric) ; convert ax into ASCII (numeric)
add al, ASCII_OFFSET_NUM ; add 0x30 add al, ASCII_OFFSET_NUM ; add 0x30
cmp al cmp al, 0x39 ; if al (char) > 9
return: return:
mov bx, HEX_OUT mov bx, HEX_OUT

Loading…
Cancel
Save