|
|
@ -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 |
|
|
|