mirror of
https://github.com/KarolS/millfork.git
synced 2026-04-20 03:16:45 +00:00
Z80: Use RRA instead of RR A in stdlib
This commit is contained in:
@@ -24,12 +24,12 @@ asm byte hi_nibble_to_hex(byte a) {
|
||||
#if CPUFEATURE_GAMEBOY
|
||||
SWAP A
|
||||
#else
|
||||
RR A
|
||||
RR A
|
||||
RR A
|
||||
RR A
|
||||
RRA
|
||||
RRA
|
||||
RRA
|
||||
RRA
|
||||
#endif
|
||||
JP lo_nibble_to_hex
|
||||
? JP lo_nibble_to_hex
|
||||
}
|
||||
|
||||
asm byte lo_nibble_to_hex(byte a) {
|
||||
|
||||
Reference in New Issue
Block a user