![]() |
Routines |
| Prev: 45383 | Up: Map | Next: 45507 |
| 45490 | PUSH BC | Stash BC and DE on the stack. | ||
| 45491 | PUSH DE | |||
| 45492 | LD B,0 | B=0. | ||
| 45494 | LDIR | Copy HL to DE the number of times held by BC. | ||
| 45496 | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
| 45497 | POP HL | Restore HL from the stack. | ||
| 45498 | LD BC,32 | BC=0032. | ||
| 45501 | ADD HL,BC | HL+=BC. | ||
| 45502 | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
| 45503 | POP BC | Restore BC from the stack. | ||
| 45504 | DJNZ 45490 | Decrease counter by one and loop back to 45490 until counter is zero. | ||
| 45506 | RET | Return. | ||
| Prev: 45383 | Up: Map | Next: 45507 |