-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Many lines have comments that are trivial if you know the basics of GBZ80 assembly. Some also appear to have been added before functions and variables had meaningful labels. For example:
ldh [hMapROMBank], a ; save map ROM bank
call PrintStatusAilment ; print status condition
ld a, [wListPointer]
ld l, a
ld a, [wListPointer + 1]
ld h, a ; hl = address of the list
Some will also be redundant once we add more labels and constants. For example, bit 0, a ; was the A button pressed?
should be bit BIT_A_BUTTON, a
.