Routines |
Prev: B071 | Up: Map | Next: B07F |
Used by the routine at B0E8. Returns with the LSB in L.
|
||||||||
B072 | LD A,$08 | C=8-B | ||||||
B074 | SUB B | |||||||
B075 | LD C,A | |||||||
B076 | ADD A,A | A=8*(8-B) | ||||||
B077 | ADD A,A | |||||||
B078 | ADD A,A | |||||||
B079 | SUB C | A=7*(8-B) | ||||||
B07A | ADD A,A | A=14*(8-B) | ||||||
B07B | ADD A,$80 | A=128+14*(8-B) | ||||||
B07D | LD L,A | Place this LSB in L | ||||||
B07E | RET |
Prev: B071 | Up: Map | Next: B07F |