Routines |
Prev: 42515 | Up: Map | Next: 42578 |
Used by the routine at 40258.
|
||||
42553 | LD A,(39696) | A=*39696. | ||
42556 | ADD A,3 | A+=3. | ||
42558 | PUSH HL | Stash HL on the stack. | ||
42559 | LD B,16 | B=16. | ||
42561 | AND A | Set flags. | ||
42562 | RR (HL) | Rotate *HL right. | ||
42564 | INC HL | Increment HL by one. | ||
42565 | RR (HL) | Rotate *HL right. | ||
42567 | INC HL | Increment HL by one. | ||
42568 | RR (HL) | Rotate *HL right. | ||
42570 | INC HL | Increment HL by one. | ||
42571 | DJNZ 42561 | Decrease counter by one and loop back to 42561 until counter is zero. | ||
42573 | POP HL | Restore HL from the stack. | ||
42574 | DEC A | Decrease A by one. | ||
42575 | JR NZ,42558 | Jump to 42558 if A is not equal to A. | ||
42577 | RET | Return. |
Prev: 42515 | Up: Map | Next: 42578 |