![]() |
Routines |
Prev: 38654 | Up: Map | Next: 38674 |
Used by the routines at Handler_SubGame and 38452.
|
||||||||||||
AddMoney | 38664 | AND A | Set flags. | |||||||||
AddMoney_Loop | 38665 | LD A,(DE) | A=*DE. | |||||||||
38666 | ADC A,(HL) | A+=*HL. | ||||||||||
38667 | DAA | Digital to analogue conversion. | ||||||||||
38668 | LD (DE),A | Write A to *DE. | ||||||||||
38669 | INC HL | Increment HL by one. | ||||||||||
38670 | INC DE | Increment DE by one. | ||||||||||
38671 | DJNZ AddMoney_Loop | Decrease number of digits counter by one and loop back to AddMoney_Loop until all digits have been processed. | ||||||||||
38673 | RET | Return. |
Prev: 38654 | Up: Map | Next: 38674 |