![]() |
Routines |
Prev: 45169 | Up: Map | Next: 45183 |
Used by the routine at 45288. Returns with the LSB in L.
|
||||
45170 | LD A,8 | C=8-B | ||
45172 | SUB B | |||
45173 | LD C,A | |||
45174 | ADD A,A | A=8*(8-B) | ||
45175 | ADD A,A | |||
45176 | ADD A,A | |||
45177 | SUB C | A=7*(8-B) | ||
45178 | ADD A,A | A=14*(8-B) | ||
45179 | ADD A,128 | A=128+14*(8-B) | ||
45181 | LD L,A | Place this LSB in L | ||
45182 | RET |
Prev: 45169 | Up: Map | Next: 45183 |