Routines |
Prev: A8CC | Up: Map | Next: A8EA |
Used by the routine at B965.
|
||||
A8DB | LD A,H | A=H. | ||
A8DC | DEC H | Decrease H by one. | ||
A8DD | AND %00000111 | Keep only bits 0-2. | ||
A8DF | RET NZ | Return if H is not equal to 00. | ||
A8E0 | LD A,L | L-=20. | ||
A8E1 | SUB $20 | |||
A8E3 | LD L,A | |||
A8E4 | RET C | Return if L is less than 00. | ||
A8E5 | LD A,H | H+=08. | ||
A8E6 | ADD A,$08 | |||
A8E8 | LD H,A | |||
A8E9 | RET | Return. |
Prev: A8CC | Up: Map | Next: A8EA |