1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-01-26 20:33:02 +00:00

Z80: Fix hex digit converions in stdlib

This commit is contained in:
Karol Stasiak 2018-07-24 19:11:40 +02:00
parent b724ba9c6a
commit 71ad93fe09

View File

@ -33,7 +33,7 @@ asm byte lo_nibble_to_hex(byte a) {
ADD A,$30
CP $3A
JR C,_lo_nibble_to_hex_lbl
ADD A,$6 // carry is set
ADD A,$7
_lo_nibble_to_hex_lbl:
RET
}