![]() |
Routines |
| Prev: 24808 | Up: Map | Next: 24841 |
| 24822 | PUSH HL | Stash HL on the stack. | ||
| 24823 | LD A,L | A=MSB of HL. | ||
| 24824 | LD L,H | Moves the LSB to the MSB of HL and writes 0 to the LSB. | ||
| 24825 | LD H,0 | |||
| 24827 | ADD HL,HL | HL * 5. | ||
| 24828 | ADD HL,HL | |||
| 24829 | ADD HL,HL | |||
| 24830 | ADD HL,HL | |||
| 24831 | ADD HL,HL | |||
| 24832 | OR L | OR ... TODO and store the result in L. | ||
| 24833 | LD L,A | |||
| 24834 | LD DE,22528 | DE=22528 | ||
| 24837 | ADD HL,DE | Store the result in DE. | ||
| 24838 | EX DE,HL | |||
| 24839 | POP HL | Retrieve HL from the stack. | ||
| 24840 | RET | Return. | ||
| Prev: 24808 | Up: Map | Next: 24841 |