![]() |
Routines |
Prev: 32127 | Up: Map | Next: 32174 |
Find the UDG for the digit in A
Used by the routine at print_score.
|
||||||||||||
find_digit_udg | 32159 | LD HL,_SCORES_CHAR_SET | Address of '0' | |||||||||
32162 | SLA A | x2 | ||||||||||
32164 | SLA A | x4 | ||||||||||
32166 | SLA A | x8 | ||||||||||
32168 | ADD A,L | Add A to table | ||||||||||
32169 | LD L,A | |||||||||||
32170 | JR NC,find_digit_udg_0 | |||||||||||
32172 | INC H | Adjust for carry | ||||||||||
find_digit_udg_0 | 32173 | RET | HL contains address of digit |
Prev: 32127 | Up: Map | Next: 32174 |