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:
parent
b724ba9c6a
commit
71ad93fe09
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user