Shave a few bytes by switch srl a to rra
This commit is contained in:
parent
929c7fa489
commit
8bee52a2a1
10
xylo.asm
10
xylo.asm
@ -9,15 +9,15 @@ set_counter:
|
|||||||
read_keyboard:
|
read_keyboard:
|
||||||
ld bc, &f7fe
|
ld bc, &f7fe
|
||||||
in a, (c)
|
in a, (c)
|
||||||
srl a
|
rra
|
||||||
jr nc, key_1
|
jr nc, key_1
|
||||||
srl a
|
rra
|
||||||
jr nc, key_2
|
jr nc, key_2
|
||||||
srl a
|
rra
|
||||||
jr nc, key_3
|
jr nc, key_3
|
||||||
srl a
|
rra
|
||||||
jr nc, key_4
|
jr nc, key_4
|
||||||
srl a
|
rra
|
||||||
jr nc, key_5
|
jr nc, key_5
|
||||||
jr read_keyboard
|
jr read_keyboard
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user