![]() |
Routines |
| Prev: 45490 | Up: Map | Next: 45527 |
|
Used by the routine at 45383.
|
||||
| 45507 | PUSH BC | Stash BC and DE on the stack. | ||
| 45508 | PUSH DE | |||
| 45509 | LD A,(HL) | A=*HL. | ||
| 45510 | LD (DE),A | Write A to *DE. | ||
| 45511 | DEC DE | Decrease DE by one. | ||
| 45512 | INC HL | Increment HL by one. | ||
| 45513 | DEC C | Decrease C by one. | ||
| 45514 | JR NZ,45509 | Jump to 45509. | ||
| 45516 | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
| 45517 | POP HL | Restore HL from the stack. | ||
| 45518 | LD BC,32 | BC=0032. | ||
| 45521 | ADD HL,BC | HL+=BC. | ||
| 45522 | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
| 45523 | POP BC | Restore BC from the stack. | ||
| 45524 | DJNZ 45507 | Decrease counter by one and loop back to 45507 until counter is zero. | ||
| 45526 | RET | Return. | ||
| Prev: 45490 | Up: Map | Next: 45527 |